Update hibernate dependencies

Updated hibernate-core and hibernate-entitymanager to the lastest maintenance version of 4.2
(4.2.12.Final).

JIRA:
CG-53