YARN-913 strip down RMRegistryOperationsService by pulling realm validation check up; moving node selector to the top level
YARN-913 improving json serializablity of RegistryPathStatus
YARN-913 move list() -> listFull(); add simple list() which only returns path hierarchy