Adding a .gitattributes file for helping with line ending consistency.

Follows from https://help.github.com/articles/dealing-with-line-endings.