Commit settings.php, use settings.local.php for local config.
Necessary changes to deploy script for local settings.
Rebuild script links local settings file into place.
The install script will now create settings.local.php if it doesn't exist, profile script prepopulates the install profile setting in settings.php.
Simplifying the settings template to only include the database settings for now.