Package all the upgrade-related scripts

We missed all the SQL scripts for adjusting the database schemas.

For now we don't package the Python scripts, since nobody is going to
upgrade an RPM installation since a version older than 1.10.