Fixed #82

Created a utility class for time related helper functions and moved non
time logging specific code from TimerBase. Added test cases.
Durations of length zero caused an exception.
Merge pull request #83 from cboehme/issue-82

Fixed #82