Refactoring SchedulerCore (killTasks)

Bugs closed: AURORA-94

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