Remove getEntityManager() deprecated since symfony 2.1

Use getManager() instead of getEntityManager() that is deprecated since symfony 2.1
Merge pull request #16 from tiagobrito/master

Remove deprecated call getEntityManager to getManager