fixed race condition for settings being unavailable for extension
Created by: twop
This ensures that initialized settings object is available for all extensions.
Added waiting for settings objects before initializing extension host api
fixes: https://github.com/sourcegraph/sourcegraph/issues/11235