Refactor the config module away from a global settings store to on a per-site basis.