webutil: in TemplateHandler, when adding query params to template variables, use a list for multiple values.