added .gitattributes and gitignore

These files were suggested by git