Improved quotation-mark handling for multi-word phrases in
queries. Also, log URLs %-decoded in debugging output, for
easier interpretation.