Generalize database update code
Reorganize db-modify-record-tag-connection
Reduce delete-unused-tags function to a single SQL query
Back to case-insensitive LIKE (which is the default)
Database version 3: use foreign keys in record_tag table