Added a .gitattributes and tweaked .gitignore