[BUG] html_entity_decode should happen first

Some control characters (like the new line) will break Phergie when trying to process the event. Decoding the string first allows them to be removed.

The bug happened on [this url](https://twitter.com/Sheldon_Jokes/status/458591047531364354), which has new lines encoded as &#10; decoding the string first successfully fixed it.