Added .gitattributes file

This should help with line normalisation so commits like the last
.gitignore that thought all the lines were deleted then all readded
(which isn't helpful) don't happen again. (or if they do it is for the
last time)