Sdasktc entitymanager

Implemented EntityManager, moved to Hibernate 4.2.15.FINAL. I've tested basic functionality, seems to be ok, but also needs a better testing.