Add -mode refresh and -mode refresh-native, with -redis and -samples. The refresh modes register the four shared-state primitives as wireSharedState does and time refresh, keys, getMulti, apply and flush.