TEZ-1218. Make TaskScheduler an Abstract class instead of an Inteface.
Contributed by Jeff Zhang.