tests: save html.res and html_page.res

Signed-off-by: Jean Privat <jean@pryen.org>
lib: HTML clear children before each render to avoid duplicates

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>