Fixed LT-13998 by ensuring unique style names

* Ensured unique style names for variant summaries
* Also fixed invalid XHTML produced by the sample project by
  dropping an unused element in the transform of the intermediate
  output.

Change-Id: I19da96dc583a7ee5c61115682f927bf4243071f8