This requires #7 and #9 to be done first.
Since we don't create kolab resources anymore at this point, we can simplify the IMAP resource getting rid of the ImapResourceBase class, merging it with the actual IMAP resource.