Upgrade database via install.py

[resubmission of #569, which was mis-targeted]

 Depends on #556 (code-wise)

This script extends #556 by allowing users to upgrade their database, rather than either delete or abort the install.  In further upstream code, this allows us to upgrade databases and install zone information on existing installs, using the same install process (which becomes double-clickable in #557).