Break apart api.endpoint and api.url

Allows to configure a separate subdomain for the API requests and
to disable the built-in store.