At TaskController, task should no longer depend on dependencies validation to consider validation concluded.

Also, add a test that would result in a hang without this fix.
At TransactionalObject, make sure that the current transaction lock is not a terminated transaction.
At Registration.removeDemand: fix bug at upDemandedByCount > 0 check
Make sure started new services are reverted in case the transaction is rolled back
Fix the order of dependency among stopping service tasks: undemand dependencies task must execute only after service is stopped.