Fauxton: Fix QueryParams

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.

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