Make compatible with Symfony >2.4

Need to tag a v1.0 as well