Simplify Services_Upgrade_Base by always using the Services_Settings_Base object instead of a raw PHP settings array.
Make upgrade-db.php use the bootstrapper where possible, to ensure the same kind of error handling and file inclusion.
Fix several small bugs