Reformat code and clean up whitespace.
Run the code through clang_format to clean up inconsistent whitespace. This also changed the brace style. Follow up with some manual reformatting of long doc comments mangled by clang_format, the config struct, and expand tabs in the config file.
Also include global.h directly in configfile.h so the
definition of InputParameters
is available regardless
of the include order.