Added HybridTrajectoryOptimization, with minor updates to DirectTrajectoryOptimization. Added example using this to the Compass Gait.
Added comments.
Updates after feedback.
Merge pull request #355 from mposa/master

HybridTrajectoryOptimization and minor updates