Compatibility to Symfony 2.4
Merge pull request #87 from KingCrunch/symfony-2.4-compat

Compatibility to Symfony 2.4