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.
@mardraze Thanks for your suggestion and showing how it work with your extension. Your solution indeed works correctly with native menu and I'm incorporating your idea to make it work for HTML menu (for in-browser version of Brackets).