Use kinematic DEs in calculations of kanes_equations.

Substitute expressions for qdot's when calculating generalized active
forces/inertias. This allows the system formulation to be explicitly
independent of generalized speeds.