accdb: 'tag': check tag args earlier
accdb: implement 'retag'

Mostly a shortcut for

    accdb tag "OR +foo +bar" -foo -bar +baz
accdb: fix a typo
accdb: 'retag': require at least one old tag