Add function to properly sanitize twitter json...

After the decode. This will severely help prevent xss, and other
malicious attacks. Fixed the TwitterXFormat snippet to properly handle
the regex needed for difference cases. (For example; a hashtag cannot be
in the middle of other text ( for example#thisisfail)) The same was
applied for other aspects.