(Bug 51263): Link trails/prefixes dont apply to category links

* Added new parser test: Parsoid-only and no html2wt mode.
  - html2wt mode fails because of separator differences
  - php parser and parsoid emit different output for category links
    hence parsoid only

Change-Id: I3f1ae17fd6307a9cfedc1f42e61840cdf5dccab1