Syncing mailboxes is now a task

This is in preparation for using LIST-STATUS.
Use LIST-STATUS to figure out what to sync

If HIGHESTMODSEQ hasn't changed, there is no need to sync the mailbox.
Add bic-parse-sequence-set
Use ESEARCH capability when present

Get search results as ranges when the server supports it, to decrease
network traffic.