YARN-2698. Moved some node label APIs to be correctly placed in client protocol. Contributed by Wangda Tan.