TextInputWidget: Allow changing 'type' attribute

To allow for <input type='password' /> and any of the other funny types.

The new config options is mutually exclusive with 'multiline'.

Change-Id: I03bb1a46f54ab93d215c92eace37e04b25a3587e
Merge "TextInputWidget: Allow changing 'type' attribute"