another round of updates:
- IMAP FETCH based sort routine for servers that don't suppport SORT
- get_mailbox_page public function to make it easy to get list of
  headers for a paged display
- renamed get_message_uids to get_message_sort_order
updates to match the imap class changes