Add conversion functions to and from UNIX timestamps
Use the new conversion functions in the debug loader
Move formatTime into the main clock module

Also rename it to FormatTime.