Feature/provisioner resourcemgr

first part of data syncing.  this PR adds capability to master process to act upon the resources block in the tenant api json.  Upon any changes or startup, master will shutdown any workers, fetch resources from server via api, sync locally, activate, and resume workers.  At this point workers are still pointing to their own data, next PR will change that.

- [x] resource thread in main provisioner to do the asynchronous coordination
- [x] some changes to the handling of uncaught exceptions in threads, should gracefully shutdown
- [x] resourcespec as part of tenantspec, resourcemanager to do all the actual operations
- [x] updated the current plugin definitions with changes made in config/defaults

a comment at each nested loop would make it easier to understand the structure of the json