The big cleanup: reformatting the source (patch 1)

First half of cleaning up the source code:
* indent is on two white spaces
* restrict to 80 columns
* provide all closing elements (for editor ease)
* don't break markup that is indexed (e.g. &lt;a>...&lt;/a>)
* put start/end elements on new lines unless they fit within a line
  completely
* add comments to end sections to describe which section they are ending