WTS: wikitext escaping should account for indent-pre containers.

* Fixes wt2wt for " ==foo==" found in RT testing. This used to
  get RT-ed as " <nowiki>==foo==</nowiki>".

* Added a new parser test.

Change-Id: I987a5978f9ec567341c03e5157d00aa8c07e5c50