EOL normalization (LF).

As most PR that likely to be ever merged are merged already, it is good point for EOL normalization (#609).
Here is all files that should be updated to LF, also with Mercurial settings for EOL. We only need add same settings for Git.