MB-9687: Revert changes in MB-8573

Since uri may contain safe characters, we should not blindly quote
uri right before making rest call. Instead, we should do when
constructing uri to quote if necessary.

Change-Id: If5a79279a5c6826541651e6218f2060eb12e2a73
Reviewed-on: http://review.couchbase.org/30897
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>