YARN-791. Changed RM APIs and web-services related to nodes to ensure that both are consistent with each other. Contributed by Sandy Ryza. svn merge --ignore-ancestry -c 1500994 ../../trunk/