Enable POSTing JSON objects with casper.open()

Use JSON.stringify for encoding the request body when Content-Type is "application/json".
Ref #196
Merge pull request #832 from sqren/master

Enable POSTing JSON objects with casper.open()