Moving JPA-related components out of core

This pull addresses issue #613

I also had to fix a lang3 reference in the code to make sure JDBC tests were able to properly save services.