Titles can end with ? mark and should be serialized as wikilinks

* Tweaked fix from f6386c8d and updated parser test as well.
* Found through RT regression.

Change-Id: I7d3c0da537c00ea92ec27ba19ae66c7f7446eb79
Merge "Titles can end with ? mark and should be serialized as wikilinks"