Bug 840069 [Message:MMS] Change append/attach to three methods (`insert`, `append` and `prepend`) that can take html, a dom node, or an attachment and insert it at the beginning, end, or at the current caret. Update and improve test coverage.