Register plugin exceptions as PluginExit events.

refs #149