Added support for paste event on the input field

It works only on input field that was focused before paste event occurred.

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).