Adds initial .gitignore file
Adds initial .gitattributes file

This makes sure EOL style is appropriate for each platform on
checkout. It also helps git with binary file handling.