improve _is_child check
HTML output: don't create temporary strings, write to file directly
Make generated HTML a valid HTML5 document
Change container item's font from bold to blue, non-bold

(makes it easier to debug if tree hierarchy is correct)
Add a couple of more test permission dump files
Fix HTML output recursion bugs