Start extracting keybindings into a module

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Move binding actions to a module

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Move two key binding routines to module

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Reorder arguments to use partial application

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Migrate some docs to module

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Start looking at code consolidation for bindings

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Kill three unhelpful helpers

Move the argument handling wrapper into bindMouse because our focused window
should always be the one we clicked on....  hopefully this is true....

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Share code between keyboard and mouse bindings

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Sync up refactored actions with binding focumentation

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>