added write_structure_tree<HTML_FORMAT> output.

most of the time we generate the html file with the extra binary in the
example dir anyway. this will increase the code size but in the end it
is a useful functionality to have.
Merge pull request #36 from mpetri/html_write_stucture_tree

added write_structure_tree<HTML_FORMAT> output.