cleaning up 1.3 sql scripts for App::LedgerSMB::Admin support

This means that most scripts must not produce errors.