Add symfony 2.2 compatibility
Merge pull request #1 from benjaminlazarecki/symfony2.2-compatibility

Add symfony 2.2 compatibility