Triggering key events when changing input value

Adding support of triggering keyDown, keyUp and keyPress to setValue function.

Fixes #80.