HIVE-2490: Add reset operation and average time attribute to Metrics MBean. (kevinwilfong via hashutosh)