Adding min retention interval for task history.

Bugs closed: AURORA-263

Reviewed at https://reviews.apache.org/r/19243/