Support newer Doctrine versions

I'm using Symfony 2.6 which has a newer Doctrine (so this project doesn't work there). I don't see an issue in supporting newer versions.