pom and persistence changes

Adding the ability to add resources and jdbc driver via maven.
Using the new datasource
Fixed conflict with lightguards pom.xml