Remove unneeded TaskFactory parameter from ServiceControllerImpl.dependentStarted
Do not invoke getTaskFactory on revert and, also, check if it is null on ServiceController.transition.
Remove TaskFactory parameter from ServiceController.setTransition method
Code cleanup: remove redundant parameters from Starting/StoppingServiceTasks code.
removing useless stateIsIn() method
Reviewed and fixed commit 39f30ded

Since cache was shared between threads,
it was possible that one thread might erase the cache
before second thread attempted to use it.
Reviewed and fixed commit 3e8bb121

It must be allowed to send cancel request to terminat-ed/ing task.
Reviewed and fixed commit 56313ad7

Previous state variable access wasn't synchronized.
But there's no need to access it anyway. The forceCancel()
is always called outside of user thread.
Unify TaskParent methods naming convention