YARN-2690. [YARN-2574] Make ReservationSystem and its dependent classes independent of Scheduler type. (Anubhav Dhoot via kasha)

(cherry picked from commit 2fce6d61412843f0447f60cfe02326f769edae25)