[WO-373] Add callbacks for new/updated/deleted msgs

Listen to updates from browserbox
Keep internal cache for message uids/sequences
Introduce onSyncUpdate callback
Introduce selectMailbox method