Initial tidy of top level CMake scripts

Neatify formatting of main CMake script and modules. Use 72 character
width, lower case for all commands/calls and remove e x p l o s i o n
in conditional and loop blocks.