Fix encrypted attachments not showing in header
The check in GrantleeHeaderFormatter (KMime::hasAttachments) doesn't see into encrypted parts, so if the message contains encrypted attachments, the check won't find them. Instead we rely strictly on whether any HTML code for attachments in headers have been produced by the Viewer, which traverses the message after decryption, so it can discover all attachments (once decrypted).