Ports a first handful of trajectory optimization examples over to the new DirectTrajectoryOptimization classes

fyi - just moved this down to be protected instead of public