Implementing update history pruner.

Bugs closed: AURORA-743

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