Problem: No consistent code format.

Solution: Use uncrustify code formatter.
Merge pull request #715 from sappo/master

Problem: No consistent code format.