ZEN-7131: Fixes for ExponentiallyDecayingSample

Replace RBTree with heapq, ensure rescale is called, set rescale_threshold based on alpha
Retain partial intervals when calculating rates