Refactor keyboard shortcut code so all is in keyboard_shortcuts.coffee