[RFC][WIP] make the bundle compatible with Symfony 2.3 (2nd approach)

Replaces #57.