Refactored the settings (config) system to reduce confusion with app.set() and app.get() methods, as per issue #2216