Module::getModule and Module::hasModule support for sub-modules - see #983