Fixes build failures due to PR #308

Adds handling of arbritrary timezones for epoch time
Fixes test failures on non-UTC+0200 systems.
Replaces all Dates with Joda Time DateTime.

The build failures are due to my shoddy testing, sorry :(

(one test failed for builds on systems in timezones other than UTC+0200)