Improves HtmlWriter.tag so that it can accept nested array of attributes.