notmuch search: Add a new --output=(summary|threads|messages|tags) option.