YARN-865. RM webservices can't query based on application Types. Contributed by Xuan Gong.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1504288 13f79535-47bb-0310-9956-ffa450edef68
Commit OSX testing conveniences
HDFS-5000: Allow configuring storage medium for data directories.
HDFS-4985: Committing partial work