Template whitespace cleanup

In 2.0 the templates are a little messy in terms of whitespace and indentation (also some of the JS and LESS docs are using tabs and not double-spaces).