Update to pom.xml that prevents compile errors

IDE specific files shouldn't be in the project .gitignore, they should be in the global gitignore. Check out https://github.com/github/gitignore for examples. Please remove from merge.