Create a dialog that allows setting the current game time.

This includes moving all the time related functions out of the main
activty class, which is probably a good thing. The dialog currently
doesn't do any input validation, which would be nice, but I think I can
count on myself to remember that.

Closes Issue #3