Add statistics to provide visibility into StateManager operation.

Reviewer: @rlane

This is just the API that IVS could call periodically to gather statistics from core.