Replaced deprecated methods "getEntityNamespace" and "getEntityManager"

"getEntityNamespace" by "getAliasNamespace"
"getEntityManager" by "getManager"

Missed part of Issue #123