Removed calls to deprecated 'getEntityManager'
Merge pull request #1 from stefk/master

Allow compatibility with Symfony 2.3