Track needed and actual database version
The database is now "aware" of it's own version in table web.settings with value database_version.
Additional the software knows which database version is needed, stored in config.py as DATABASE_VERSION.
The application will display a warning on every site for managers if they are not the same.
- The code (DATABASE_VERSION in config.py)
- The update SQL script
- The installation SQL script