Merge pull request #475 from SaberUK/master+default-to-xml-config

Default to the XML config format.
Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.