Add ZM_GetModuleByPluginOrFail helper in module manager.
Add AssertIsValidZMModule helper function in module manager.