Change scheduler into a plugin.
Fix warning about __new__ not taking arguments
Change singleton pattern a bit, split it into tools
Make sure error messages about --tasks are shown to ipc client
fix #2667
Make scheduler loadable/unloadable on config change
Merge branch 'daemon_plugins' into develop
Clean up scheduler event hooks
Fix ability to restart scheduler
Turn off scheduler when no schedules defined.