Fix deprecated function calls

Resolves:


Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /home/projects/coronadirect/data/coronadirect/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71

PHP Deprecated:  getEntityNamespace is deprecated since Symfony 2.1. Use getAliasNamespace instead in /home/projects/coronadirect/data/coronadirect/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 129