Compatibility with Symfony 2.3

closes #20