Support text attachments in HTML Writer

if the NSTextAttachment conforms to <DTTextAttachmentHTMLPersistence>

First baby step in implementing #611.