Use the real timeToWork values in the top graph on the statistics page

This includes a lot of refactoring.
https://github.com/Mayflower/PHProjekt/pull/341 should be merged before this.