Reformat all the source file and fix CRLF problem

Formatting made with "astyle" using options -juU