Enhanced plugin loading for external plugins.

 New manifest.json features are:
 - startup and shutdown hooks
 - register mailboxes
 - pass config to mailbox parse_path
 - Added usage examples to demos plugin

 Necessary enhancements for external LEAP plugin.