Uidplus extension

These two commits implement the IMAP [UIDPLUS extension][uidplus-rfc] (RFC 4315).

[uidplus-rfc]: https://tools.ietf.org/html/rfc4315