Added "type" selection for text inputs.

This allows specifying new HTML5 input types like email, tel, url.
Merge pull request #20 from ADmad/admad

Added "type" selection for text inputs.