adds onupdate event handler for input and textarea

As a custom attribute, this PR adds a special event on <inut> and <texarea> elements. It is fired 1s after a user stops typing in a field.

2 questions:
- Is `onupdate` the right name ?
- Is 1000ms the right timing ?