Added support for paste event on the input field

It works only on input field that was focused before pasting.

Please check it before merge. I had to add small delay after "paste" event - otherwise the old value would be processed instead of the new one (from clipboard).