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.