Quick hack to hook up native menus.
use display key, if specified
Merge pull request #2488 from redmunds/glenn/native-menus

Use display key, if specified
Make HTML menus conditional based on "inBrowser" flag if it is one of the non-context menus.
Updated by ALF automation.
Remove evt command argument from ShellAPI.executeCommand().
Add enabling, checking and name change for native menu items.
Fix typo
Prevent shortcut key handling on JS side for all native menus but still allow unit tests to directly call handleKey function.
Disable all HTML menu unit tests except those for context menus.
Fix a JSLint error and revert some unneeded space characters changes.
Revert this since we can't do it for all key binding. We can do this in native code when we process TranslateAccelerator on Windows, but we still need a Mac solution.
Updated by ALF automation.
Updated by ALF automation.
Merge branch 'master' into rlim/native-menus
Add removeMenuItem call for native menus.
Also add error handling code for addMenu() and addMenuItem().
Set name when command object is passed.
Merge branch 'master' into glenn/edit-menu-items
Refactor (brackets.inBrowser || _isContextMenu(id)) as _isHTMLMenu(id) function.
Remove shortcuts from Indent and Unindent commands as it prevents users from entering tab characters.
Add Undo, Redo, Cut, Copyand Paste to the menus.