Arturo Vidal has agreed a contract extension at Juventus which will keep him at the Turin-based club until 2017.