Add source and reason to TaskStatus.

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