Major upgrade for (de)serializing Schedules

Fix for #27.
Not that this fix introduces HueDateTime and will break compatability.

Also included unittests.