Changed the EntityManager for Doctrine ORM to getManagerForClass to make the code better understandable.
Removed the getEntityManager() function from the ORM BaseController, as it appears not to be used anywhere in the code.
Signed-off-by: Bob van de Vijver <bobvandevijver@hotmail.com>
Merge pull request #639 from bobvandevijver/master

Changed getManager to getManagerForClass