moved entity manager rule to correct place
Fixed gradle scripts to fit the rules of OSS Sonatype
Fixed source compability and removed unecessary dependencies