Make various fixes/cleanup to HTML templates

Includes tabs/four spaces -> two spaces, moving header rows to thead
and other rows to tbody, closing unclosed tabs, and removing optional
self-closing slashes
Make spacing fixes and thead/tbody changes for match_partials
Make spacing fixes and add tbody for bracket_partials/event_partials
Merge pull request #838 from mc10/html

Make various fixes/cleanup to HTML templates