Normalize all the line endings

add .gitattributes and set the default behavior, in case people do not have core.autocrlf set