json_encode $data in createComment

github response without json_encode was a 400 error:
{"message":"Problems parsing JSON","documentation_url":"https://developer.github.com/v3"}
Merge pull request #16 from dunkoh/master

json_encode $data in createComment