Add safe method for resetting request.resource_config

Because `request.resource_config` is a cached property (i.e., due to the
way `@cached_property` is implemented), it can't be `del`ed before it's
accessed. `request.reset_resource_config()` checks to make sure
`resource_config` has been set before attemtping to `del` it.