Spark-742: TaskMetrics should not employ per-record timing.

This commit merges together all the changes for purpose of cherry-picking
Merge pull request #588 from pwendell/branch-0.7

Spark-742: TaskMetrics should not employ per-record timing.