Refactoring SchedulerCore (forceTaskState)

Bugs closed: AURORA-94

Reviewed at https://reviews.apache.org/r/23835/