Fire key events for digital numbers
Change key event dispatch API to support keyCode and code
Move quadratic-curves sample out of index.js and add keyboard event test code inside