HADOOP-8545 findbugs patches from the final -037 patch

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1527189 13f79535-47bb-0310-9956-ffa450edef68
YARN-1246. Added application finish-status to ApplicationSummary for the sake of testing given ApplicationHistoryServer is not yet ready. Contributed by Arpit Gupta.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1527205 13f79535-47bb-0310-9956-ffa450edef68
Merge remote branch 'origin/trunk' into trunk-gd
Merge remote branch 'origin/trunk-gd' into fb-YAHOO-218-trunk-gd