Added new logging functions and fixed test cases.
Added support for pausing and resuming timers.
Merge remote-tracking branch 'remotes/origin/master' into gh-pages