MAPREDUCE-1881. Improve TaskTrackerInstrumentation to enable collection of advanced metrics. Contributed by Matei Zaharia.