EZP-22632: Made request optional in CachedValue visitor

ezpublish_rest.output.value_object_visitor.cached_value service
Allows usage of the visitors outside of a request scope.
Merge pull request #799 from ezsystems/EZP-22632-vov_optional_rest_request

EZP-22632: Made request optional in CachedValue visitor