Added new database upgrade script, converted DDL scripts to new format
Use updatedb.sh from update.sh + various fixes in updatedb.sh
Reset $db_error_msg on query
Attach updatedb.sh script to the installer interface
Don't attempt to read system table if it doesn't exist
Remove unneeded $db_map
Don't attempt to write to 'system' table if it doesn't exist
Renamed option updatedb.sh --label to --package
Add and use db_table_system config option
Merge branch 'schema_upgrades'
Update changelog
Drop tmp_users table (#1488910)
Bump version number in *.initial.sql
Fix export of selected contacts from search result (#1488905)