Symfony 2.3 support

All tests passed, also tested on app and work without any errors.

See https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/issues/131