Add second derivatives to drakeFunction.Kinematic.RelativePosition (rebased)

Rebased version of #519. That pull request had merge conflicts in `RigidBodyWing` which caused test failures.