Fix management extension enable/disable handling

When notifying about 'enabled' plugins, limit to explicitly given.
When handling 'disabled' plugins, call the event handler(s)
synchronously (while we still have loaded modules) prior to stopping
and unloading any apps.