Add support for a new "check_config" config option in get_storage()
if "check_config" is present in get_storage()'s kwargs, call the
storage.check_config() method and raise an exception is the result
fails. The storage.check_config() method is called with the content
of the "check_config" config value (so expected value for this
currently is check_config={"check_write": <bool>}
).
Depends on !549 (closed). Related to #2525 (closed).
Migrated from D3832 (view on Phabricator)