YARN-913 some code reviews and while copying some of this code over to hadoop-trunk branch
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-slider into develop