Move provision_errors_on, provision_errors_off and the update sql logging function upstream into drush.