Improved time machine and added unit test for it.
Merge branch 'master' of git.otrs.com:otrs/otrs