Format HTML as per jQuery style guide

Fixes gh-1101

This only deals with the header tags and indentation for now. I looked at adding grunt-html to validate the HTML as well (there are some issues in the demos) but ran into some test failures that I figured should be dealt with in a separate PR.