Added support for paste event on the input field

It works only on input field that was focused before pasting.
Cleaning up the bind events onto the chosen input box. Adding an assertion about the input box being either focused or blurred.