Updated .gitignore and added .gitattributes

I've removed 2 unneeded files from the .gitignore, and have added a .gitattributes file.