Handle notebook hotkeys only in ipython-main-app

Hotkeys should only be handled in notebook cells, not in the menu or the toolbar.

My use case: I want to add a text input field in the toolbar. It is impossible to type in anything there, due to the keys being interpreted as hotekeys.