make msg UID non-sequential
Right now i'm using a hacky, sequential UID for messages, that will break when using more than one mailbox.
Need to keep a persistent index of ids. Might use the u1db doc_uid somehow (but we need int).
(from redmine: created on 2013-04-22, closed on 2013-05-02)