Clean up .gitignore and remove the currently unneeded .gitattributes file.

[ci skip]