Extend event registry API with two more methods for plugins.

    (1) Allow a plugin to force an event to be raised even if no
    handlers are defined.

    (2) Allow a plugin to retrieve a list of all handlers.