First implementation of webpage.sendEvent for keys. WIP

It doesn't pass tests yet.