Cleaner linking of S/MIME certificate details
Fix message actions from popup windows
Simplify storage/retrieval of IMP_Imap object

Originally, the idea was that the factory could be used to create
separate objects for each account accessed.  But it is going to be
easier and more transparent to simply do this wholly within the IMP_Imap
object itself.