Introduce end-of-line normalization

Convert EOL to LF instead of CRLF, also includes a .gitattributes file, which will hopefully prevent future mishaps due to editing on windows, vs unix-type system.