Attempt to cleanup the pom.xml for now.

Also added a small entry to the .gitignore file.

Added a .gitattributes file to make sure line endings are constant cross
developers and platforms.