Cleaning up time serializers based on feedback
As pointed out by lord.buddha on the mailing list, the OffsetTime, LocalTime, and LocalDateTime serializer code would have serialized nanoseconds in the second field if seconds == 0. Added test cases to test for this, generally improved the code, and also put in placeholders for the nanosecond/millisecond settings.