Update BPM code to support new versions of Spring (3.2.1) and Hibernate (4.1.9)