IMAP polling support, and preliminary support for a couple of IMAP
extensions
tests file update for new extension support
update examples with new public methods