web: use Apollo Client for `viewerSettings` query
Created by: valerybugakov
Context
Preparation to land https://github.com/sourcegraph/sourcegraph/pull/23351, where Apollo Client persistent cache will be enabled.
Changes
- Added helpers to convert Apollo Client
ObservableQuery
torxjs
observable. - Applied
fromObservableQuery
helperServersideSettingsBackend.load()
. - Use Apollo Client to fetch
ViewerSettings
Closes #24876 (closed)