Added pom.xml to build with Maven.
Added gitattributes to enforce line endings.