Move durationToString to common place and cleanup error handling.
Beginnings of a Prometheus status page.
Config tests and config cleanups+fixes.
Integrate cleanups for comments in PR70.