WyriHaximus/PhergieUrl — pull request #2 by Meroje (2014-08-15 18:53:25+00:00)
Title: [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
decoding the string first successfully fixed it.