Revert "Merge pull request #2598 from fivetanley/default-input-type-is-text"

This reverts commit b3e845ed27d7b7a673bbd5eaef9396aac7ccf18e, reversing
changes made to ecbd0bfdb5b2bcc7feb7e6a9e1e0bdce14d8ad4f.

I may have merged this one too quickly, we should likely aim to be as
close to the html5 spec as possible.