Add .gitattributes to normalize line endings on different platforms

This will keep commits on different platforms from changing line endings gratuitously by normalizing them for all platforms on commit/fetch.