function loadConfiguration() {
            if (zed.services.goto && zed.getService("goto").getFileCache().indexOf("/zedconfig.json") !== -1) {
                return zed.getService("fs").readFile("/zedconfig.json").then(function(text) {
                    var base = {};
                    try {
                        base = JSON5.parse(text);
                    } catch (e) {
                        console.error("Error parsing zedconfig.json", e);
                    }
                    return loadUserConfiguration(base);
                });
            } else {
                return loadUserConfiguration({});
            }
        }
Loads config, deciding which config file to use as root:
- if a /zedconfig.json file exists in the project, use it
- otherwise use the /user.json file in the config project