Make package installable on Symfony >= 2.1.x, < 2.4

I tested these changes with a project running version 2.3.8-dev of Symfony Framework.  All related code seems to work correctly.