[web-db] choose storage engine depending on whether database is supported or not
Summary:
Conditionally use default persist storage API or database depending on whether database is supported or not.
Depends on D7666
Test Plan: Switch to commReduxStorageEngine and test if it works for not supported database
Reviewers: tomek, michal
Reviewed By: tomek
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D7667