Enhanced plugin loading for external plugins.

 New manifest.json features are:
 - startup and shutdown hooks
 - register mailboxes
 - pass config to mailbox parse_path

 Necessary enhancements for external LEAP plugin.