Use JointTranslation of dimension 2 and 3 for planar and freeflyer root.
Update to modification in hpp-model

  - split JointRotation into 2 classes.