Begin upgrading Hibernate-ORM and Hibernate-Search

This commit includes the required changes to update hibernate-orm from
v3.5.6 to v4.3.5 and hibernate-search from v3.1.1 to v4.5.1. This also
includes most of the required changes to package names.

Note: THIS COMMIT WILL NOT BUILD. More changes are required to adapt to
changes in Hibernate's event listener registry and sessions.