Change to make the Bundle compatible with Symfony 2.4

I've ran the tests against the 2.4 versions of the dependancies and they all appear to work.