Use pandoc templates to set root element, xml:id, and default title

Change-Id: I9d4217bb977401a2abd678835f4fbbd842a05a8c
Merge "Use pandoc templates to set root element, xml:id, and default title"