Fix some issues with the JPA configuration and spring data JPA
Update to spring 3.2.0