Properly escape Location: HTTP header
Properly escape Location: HTTP header

Non-ASCII characters in the "Location:" header must be URL-encoded. This
can happen if a document is inserted with a user-defined "_id"
containing non-ASCII characters or if a filename contains non-ASCII
characters.

Fixes COUCHDB-2673

fkaempfer/couchdb,apache/couchdb-couch,fkaempfer/couchdb,cloudant/couchdb-couch,fkaempfer/couchdb,cloudant/couchdb-couch,cloudant/couchdb-couch,apache/couchdb-couch,fkaempfer/couchdb,fkaempfer/couchdb,apache/couchdb-couch,fkaempfer/couchdb