[PATCH v2 01/13] emacs: move tag format validation to `notmuch-tag' function