add key handlers to lua

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/652473002