Use astropy for time conversion.
Misc. fixes and changes. Preparing for 1.2.0.
Support date parameter in API server.