Record estimation and control thresholds.

Add new optional message type Threshold to sample.proto. New Threshold
records estimation and control thresholds for each loop.