Update .gitignore file to ignore build-generated files
added .gitattributes for line endings; .gitignore is now better
normalized line endings