Specify encoding and JDK version for Maven.
Ignore build output.
Ignore Eclipse generated files.
Merge pull request #1 from jdhoek/master

Add required settings to pom for newer Maven versions and .gitignore Eclipse generated files