Add ToJSON instances for UTCTime and ZonedTime

Fixes #15.

I'm not sure if the first commit is correct, but without it the compiler would not compile the driver. Seeing that you cast zeros in the surrounding code to Double, I did the same.