Always use Unix line endings

Bash scripts don't work with CRLF endings.
Use .gitattributes to make LF the default and change files that use CRLF