Added a gitattribute file to let git deal with line ending issues

As per https://help.github.com/articles/dealing-with-line-endings, this should help us not worrying again about line endings.