window: Restore keyboard shortcut to quit
This is a follow-up of commit 9aa739a9 With the removal of the application menu, it is no more possible to quit the application via Ctrl + q shortcut. The associated action has been removed.
Restore this shortcut by adding it to the window key-press-event.