make bundle compatible with all symfony 2.1+

I realise this bundle is deprecated, but if it's here it should be usable with Symfony 2.5+.
Merge pull request #19 from shieldo/patch-1

make bundle compatible with all symfony 2.1+