Issue #1833516 by Berdir, chx, catch, webchick: Add $settings for low-level configuration - move things out of .