Removed direct access from the controllers to the Doctrine EntityManager.

Each controller now gets the needed repositories injected upon construction.
Moved all date calculating code for league management to a new class LeaguePeriod. Also added a new view helper to display the league pagination. Refactored all code to use the new classes instead of calculating dates for themselves.
Removed the generic autoloader initialisation from the ZF2 skeleton application.
Added view helper for generating the form row and form error markup for Twitter Bootstrap to avoid doublicate code in the view scripts.