Fixes to trace output in WTS.

* A couple of pieces of tracing output were incorrect and confusing
  me during debugging selser.
  - wt-escaping trace output was being displayed with the wrong logType.
  - The traced output didn't reflect nowiki-escaping.

Change-Id: Ia8f1f1bd0aeb93f29c2abb80676517130982ab56
Merge "Fixes to trace output in WTS."