add keyup/keydown functionality

This patch allows you to press a key on the keyboard to play a note (rather than using the mouse).

You can preview the change here:

http://skratchdot.github.io/monotron/