Problem: No consistent code formatting.

Solution: Use uncrustify code formatter.

Known Issues:

* No automatic removal of braces on one-line if, for and while
  statements as they may be confused for multi-line macros.
* Line break at 120 characters as 90 or 100 characters caused weired
  line break which cannot be reverted with uncrustify.
Merge pull request #717 from sappo/master

Problem: No consistent code formatting.