Add createEntity method to EntityManager

Add createEntity method to EntityManager
Merge pull request #390 from Steve-Fenton/patch-1

Add createEntity method to EntityManager