Makes use of existing expSettings methods to work with configuration profiles; adds profile detection on install to allow system recovery from a saved profile if the config.php is clobbered [#884]