Create .gitattributes file

Automatically deal with line-endings as per
https://help.github.com/articles/dealing-with-line-endings

Fixes dreamwidth/dw-free#22.