New plugin structure. Initial version but works.
Added scrambler to package.json
Removed unused scrambler.js
Moved command logic to ./lib/agent/command.
Command -> Commands
A few other fixes.
Updated default.options.
Added missing 'err' in control-panel plugin.
Moved api into CP plugin module.
Replaced and reordered some utility modules.
Added agent.public export, that defines what is actually available for external (plugin) use.
Updates in CP module.
Export helpers too in agent.public.
Removed 'default.options' from email endpoint. Fixed HTTP endpoint.
Utils again. Replaced utils/exit with clean-exit module.
Moved store/restore commands from db into agent/commands.js.
Added 'clean-exit' module to main package.json.
Added email/recipient options to email-sender plugin.
Fixed email-sender package.json.
Added lib/plugin.js to simplyfy loading and scoping config.