Fix case where tests fail in some timezones

#566 was the original report of the problem, refer that for the history.

The solution I eventually came up with was not to use JodaTime, but instead to add a --utc option to the log command, and use that in the tests.