autofocus is a boolean type, not a string

Add support for arbitrary attribute types for Input template
representations. This allows us to more tersely include attributes
that influence merely by their presence or absence (e.g. autofocus,
rather than autocomplete="on") using a boolean.