Add 'repeat' field to KeyDown and KeyUp events.
Fix demo.
Merge pull request #212 from sp0/master

Add 'repeat' field to KeyDown and KeyUp events.