kvm_stat: refactor to separate stats provider from difference engine