CMS-2191 Design for Module system.
Adjustments in API command classes.
Unit tests for ModuleImporter, ModuleExporter.