Change CModule::setModules for #3359

Changed CModule::setModules to allow it to merge configuration without overwriting the class as described in #3359