Handle invalid JSON in comment_client

@gwprice could you review?

https://groups.google.com/forum/#!topic/edx-code/8lM6zjmni78