Add test example of pendulum on cart.

Exemplifies coordinate transformations/joint specification.