Code to track pants timings and artifact cache hits/misses.

Auditors: markcc
Merge branch 'cache_stats_and_timing'