Change HTML5Writer output formatting

Previously no indentation or newlines were emitted which was annoying
for debugging etc. Now block tags are followed by a newline and their
content is indented.