Exclude shortcuts that are not available in currently active keyboard layout

This pull request goes with another one in Brackets shell repo and together they fix issue #8666.