Ignore bogus events on IE (fixes #1040)

This PR ignores `input` events incorrectly triggered on IE when a field is not focused.

It does not fix the `input` event triggered on focus on IE11 (https://connect.microsoft.com/IE/feedback/details/810538/ie-11-fires-input-event-on-focus).