converts  endline form windows to unix

These changes were generated automatically by Github for Windows.

Basically it converts the `\r\n` to `\n` and adds converting rules in
.gitattributes

This way we won't have issues on windows and unix.