Initial commit of the extension code.
Removed all the mousetrap.js tests and added actual tests.