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. 
Sounds good. I did try going that route as well, and it seems like some of the other dependencies need to be cleaned up first. person-directory was the one most that caused trouble with the upgrade.