Add support for symfony >= 2.2

Hi, 

I'm using Symfony 2.3 and wanted to try your extension. Here is the patch to allow Symfony >= 2.2.

fixes #12