created model manager for entity manager.
EM to use new ModelManager; removed unused var and objects.
added getByCenaId to get entity by cenaId in collection.
fixed test for accounting *static* variables changes during tests.
made EntityManager singleton.