Make <input> not have a type attribute by default.

The type *property* is still exposed and defaults to "text", but the *attribute* does not exist unless it's present in the HTML. This matches browser behavior.