Hibernate/Envers/ORM Mappings

Added hibernate classes and orm xml mapping files. WIP.