initial ESORT and ESEARCH support. added 2 helper functions to convert
arrays to IMAP sequence strings and back
update the tests with new functionality