ControlManager and WorkUnitManagment development [now cu registration not work anymore]

- control manager check the queue to find new instance to manage
- for every instance on work unit a WorkUnitManagment is created and turn on;
- the thread find every WorkUnitManagment that has the state machine in a state that need to be scheduled and do it
- when a WorkUnitManagment is found in a stable [sm doesn't need to schedule] state it is migrated to the registered work unit hash

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>