Reengineered the Scheduler part of Alitheia Core

Added a new type of worker and removed the old ones (Deprecation)
Added a new Scheduler
Added a dependencymanager
Added tests for the new implementation

by @Kaalaamaazoo and @rogierslag for IN4189 (Joost Naaijen & Rogier Slag)