Use appropriate <input> elements when configuring TupleTools

At the moment the TupleTool configuration appears to use text input boxes for all options, regardless of type.

The metadata contains a key "type" with possible values "str", "bool", "int", "float", "dict", "list".

"bool" can yield <input type="checkbox">

"float" and "int" can yield <input type="number">

"list" can yield rows of <input>s with buttons to add/remove rows

"dict" can yield rows of pairs of <input>s