PLT-344 Restore emoticon handling to text_formatting.jsx and fix it's interaction with other formatting