Move 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. 
Ah okay. We should probably have an issue to get to the latest Commons Lang.