Make orm entity manager easily configurable

Still keep default entity manager
Fix typo from last commit
Merge pull request #4 from ICANS/make-orm-entitymanager-configurable

Make orm entitymanager configurable