pom.xml update (java compile -source)

When I tried to run `mvn install` I got a bunch of incorrect -source errors.

Added the config for the java compiler and specified a minimum source version.

Also added a .gitignore for build files (and whatever else)