Format code (DO NOT MERGE)

This is not intended to serve as an example of what uncrustify can currently do, so I can tweak the config based on feedback.
It seems the formatter is confused about scope level qualifier. They should be indented at scope level. Is that possible to make it understand this ?