Refactoring for the month graph to ease further development

Please merge https://github.com/Mayflower/PHProjekt/pull/336 before this