Normalised line endings to LF

There will probably be a manual merge needed, pull requested by Lavo, 

**WARNING: ** The 2nd commit has tendencies to freeze browsers.