Stop line endings being converted to LF

With the git attribute -* text=auto it automatically tries to change every file's line endings to my computer's type (LF) which then shows up in commits. It works fine without this file.

Also made some other minor changes/fixes.