targetting java 6

Compiling with the default maven config wasn't working, had to add a maven-compiler-plugin configured to target Java 6. Also added some Eclipse Maven plugin auto generated artifacts to .gitignore.