馃崚 Don't destroy formatting when editing previous messages
Adds a few new methods to grab the markdown/slightly rich text from the message, and will intelligently re-insert user mentions as needed.
(cherry picked from commit e2eb6ab3)