ENH: Added Integrator class to integrate 1D Hamiltonian.

This class is meant to be more general purpose than the existing Shoot
class.