IMAP: FolderList is supposed to be an interface.

* Made its methods pure virtual.
IMAP: Early work in progress of main protocol class.
Minor cleanup.