Handle potential json encoding problems

Twitter can sometimes throw non UTF-8 characters, which causes rjson to behave oddly. This check ensures that the json string is UTF-8 encoded.
Merge pull request #29 from smschauhan/patch-1

Handle potential json encoding problems