Enable POSTing JSON objects with casper.open()

Use JSON.stringify for encoding the request body when Content-Type is "application/json".
Ref #196