Make router compatible with Symfony 2.4+

Fixes #115

Maybe not the best solution as it bypasses the new RequestMatcher system in symfony 2.4 (symfony/symfony#9494)