YARN-2493. Added user-APIs for using node-labels. Contributed by Wangda Tan.