refactor(Scope): Change how time is measured and results emitted

This change improves stats reporting for scope. It reports stats for both digest and flush phase.