Upgrade to Spring 4, JPA 2.1, Hibernate, and various libraries