fix #1086, only show tag list if there are tags

add a test_web_clean1 as a simple harness for testing
for the presence of various strings in the templates