Fix broken .gitattributes to something more sensible.

This defines .txt files and .vcxproj* files as ending in CRLF, other text files as ending in LF, and in general, autodetection of binary/text mode but with some known extensions handled manually.