detabify and whitespace cleanup of html and other templates

Change-Id: I946a411d4d54f8931553d5252bf2ba660ab2ccf7