reindent for consistency

reindent the javascript and html for consistency based on emacs
multi-mode.

Feel free to ignore if this isn't desired, it just causes me mental
pain to work with html files that aren't indented consistently.

Change-Id: Ia6043668777ebdafb882a946b51984791e1af658
Validate presence of xml:id in section

In tools/validate.py, check for xml:id attributes.

While testing this, found a file that contained missing xml:id, that
was corrected.

See bug #1181659

Change-Id: I61f61c5f6de87bee8c7bc2eb9e3bfe23426a3adb
Merge "Validate presence of xml:id in section"
Merge "reindent for consistency"