Htmlreport: minor cleanup, write index of errors (with links) under "Defect list" in menu for each page