Added --timer-no-color for non-tty usage

* Added a --timer-no-color option to disable colors
* Refactor time formatting into a separate method
* Updated unit tests