Logic that's more in line with `bind` to unbind shortcuts with mods

This patch makes `unbind` work more like `bind` so that it can recognize keyboard shortcuts with modifiers when searching for a handler to unbind.