Fixed all serializer users to pass in original wikitext.

* Cleaned up some oldtext/src-wikitext code in serializer.
* Removed chunkCB callbacks from all serializeDOM calls in
  ParserService.
* Fixed a couple JSHint warnings/errors.

Change-Id: Ia4d1f3002acba48178f300e90ca6be4666f40479