Make the library compatible with Symfony >= 2.4
Merge pull request #3 from egeloen/compat

Make the library compatible with Symfony >= 2.4