Fix for CouchDB/Cloudant syncing

CouchDB (actually Cloudant, but I assume the behavior is the same) was throwing a HTTP 415 “Unsupported media type” when syncing because the POSTs to _bulk_docs did not have a “Content-Type: application/json” header.

Once I made this change, the sample app was able to sync with my database very nicely.