cleanup trajectory optimization examples (now everything uses the new interface)

to be included in drake v 0.9.7
I've added the gradients explicitly to the one place where I was relying on geval for now (the double integrator example; trying to keep the code readable and clean), and reverted this change.  I'll take up this battle again later.  :)