YARN-981. Fixed YARN webapp so that /logs servlet works like before. Contributed by Jian He. svn merge --ignore-ancestry -c 1518030 ../../trunk/