Fauxton: do not modify query options in-place

Ensure we clone the parameters to Documents.QueryParams.parse and
Documents.QueryParams.stringify. These functions should return new data
structures rather than modifying the input in-place.
Fauxton: urlParams should be stringified

Do not use the parsed query object for url generation. Instead, use the
stringified representation. Fixes COUCHDB-2249.