Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
Merge pull request #461 from SaberUK/master+header-cleanup

Tidy up source files.