Peg.js key event parser

a small peg.js grammar for key handlers
Updated ROT.js
Fixed stupid key direction bug