Refactoring and tidy up of moduledata task
Fix underscore + make globals have own section of API.
Merge branch 'feature/module-data' of github.com:unikent/programmes-plant into feature/extend-api-capabilitys