Config: Add a config group for the stateserver and fix resulting issue with get_rval().