Make router compatible with Symfony 2.4+
improved symfony 2.4 compat fix
fixed code formatting
Merge pull request #116 from kbond/symfony-2.4

Make router compatible with Symfony 2.4+
Merge pull request #1 from schmittjoh/master

update to 2.4 compatibility