Add more test coverage to SchedulerThriftInterface.

Bugs closed: AURORA-937

Reviewed at https://reviews.apache.org/r/28026/
Simplify Preemptor code, encapsulate parameters used there and in SchedulingFilter.

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