cli: use a config.yml file to configure cache/web-api
More flexible and easier to tweak settings. For example we can now have,
the metadata cache in-memory while the blob cache is on-disk:
cache: metadata: in-memory: true blob: path: /cache/dir/blob.sqlite