Removing Hibernate dependency and proxy initialization from core

Closes #501. We can use XStream plugins to do the same behaviour.