Write Mesos JobTracker stats to state file.

Review: https://reviews.apache.org/r/11165/
Pretty-print resource type with parsing error.

Review:

Review:

Review: https://reviews.apache.org/r/11486
Strip spaces and quotes --resources arg.

Review:

Review:

Review: https://reviews.apache.org/r/11487
Use string comparison for TaskID.

Review:

Review: https://reviews.apache.org/r/11488
s/hadoopJobs/jobs/g in Hadoop scheduler.

Review:

Review: https://reviews.apache.org/r/11489