Disable select api for input type number and email

Check in HTMLInputElement to not only check text field but also check if select API is applicable for the input type. This is useful for input type email, where inspite of selectAPI set to false it was working

Select API disabled for input type number.

R=adamk, tkent
BUG=324360
Test=Test for input type number and email to throw an exception if select api is invoked.

Review URL: https://codereview.chromium.org/100433008

git-svn-id: svn://svn.chromium.org/blink/trunk@163928 bbb929c8-8fbe-4397-9dbb-9b2b20218538