(Bug 57252) Generate HTML5-compliant cite id/about attr values

* Currently, this mimics Cite.php behavior where "a b" and "a_b"
  are considered identical ids.

* Added new parser test.
* Fixed output of another test.
* Fixed section name of a commented out test.

Change-Id: I0c51404c3e659bbddfe9a8909aa6a109d368b762
Merge "(Bug 57252) Generate HTML5-compliant cite id/about attr values"