YARN-2501. Enhanced AMRMClient library to support requests against node labels. Contributed by Wangda Tan.

(cherry picked from commit a5ec3d080978a67837946a991843a081ea712539)