Added compatibility with Symfony 2.2.1
Merge pull request #458 from fightmaster/compatibility-with-symfony-2-2-1

Added compatibility with Symfony 2.2.1