Allowed the TermTree to accept the typenames in a configuration
parameter and refactored HtmlElement render method to accept a string
parameter. Also refactored the way the form code creates inputs and
scrapes values.