Create .gitattributes file

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

Fixes dreamwidth/dw-free#22.
Merge pull request #79 from afuna/gitattributes-bug-22

Create .gitattributes file