Updated pom.xml to use java 1.6

When making a fresh clone, the project currently generates a lot of errors since you are using java 1.6 features (e.g. annotations) but the source code is defined (implicitly) by Maven as 1.5. I changed this to 1.6. Further I also improved the .gitignore file.