Move to JPA annotations instead of hbm.xml files

Update libraries (commons-lang3 and newer commons-collections).

Rely more on Spring Boot auto-detecting for the
datasource, EntityManagerFactory and JMS
infrastructure.