YARN-2505. Supported get/add/remove/change labels in RM REST API. Contributed by Craig Welch.

(cherry picked from commit 9a4e0d343e9e891c10ef6682e7b2231a59e69ade)