Add AssertPluginHasZMModule.

Helper for API implementations.
Rename AssertIsValidEvent to AssertIsValidZMEvent.
Add stock modifier for AssertPluginHasZMModule.