Git attributes

Add .gitAttributes file as discussed in #736   Also normalize the existing repo, as described here: https://help.github.com/articles/dealing-with-line-endings

After this is merged in, we can change the contributor's guide to remove the now unnecessary crlf settings.