Flapping traj opt

In principle everything we need to do periodic traj opt with the pigeon in drake (assuming this gets merged: https://github.com/RobotLocomotion/drake/pull/252). Couldn't get it to converge yet but I'm still working with version 10.