Add an initial implementation of a notmuch_thread_t object.