Updating ContextMenuTest example extension
move code that prevents native browser context menu from brackets.js to menus.js
Working on unit tests for context menus
Changed context menus to use contectmenu event instead of mousedown
Merge remote-tracking branch 'origin/master' into tvoliter/context-menus

* origin/master:
  Code review. Docs for logTestWindow. Fix usage of finalizeMeasurement.
  Code review comments. Add getDocumentForPath measurements to JSUtils perf tests.
  add comment for createPerfMeasurement
  fix submodule
  Removed debugger call
  Fix bug in Menus.addMenuItem() when passing a command directly instead of its ID
  prevent context menu from being clipped
  fix merge error
  fix codemirror submodule
  squashed js-quick-edit-perf
  - New unit test for line endings on save - New unit test for ref counting and Editor "GC" (related to recent Document   API changes) - Add util waitsForDone() for tests to wait on a Promise easily (wraps   waitsFor()) - Add util SpecRunnerUtils.deleteFile() to consolidate fs.unlink() usage - Clean up DocumentCommandHandlers-test to use the above utils and to use   FileUtils instead of raw brackets.fs calls - Re-enable undo-related dirty/clean unit test now that it's expected to work - Fix bug in unit test runner where trying to run a single suite also runs   all suites for which its name is a prefix
  - Remove Editor._getText()/_setText(). Former callers now use Document or   raw CodeMirror APIs depending on circumstances. - Fix bug where Document._text has wrong line endings after _makeNonEditable()   (there was no user-visible bug though, since getText(true) is currently   only called for dirty documents) - Minor docs cleanups
  Document API work: * Rationalize getText()'s default line endings with other text getters * Don't leak in the case where a Document auto-creates its master Editor   but that Editor is never shown in the UI * Move Editor.getLineText() -> Document.getLine()
  First pass hoisting CodeMirror.replaceRange() and operation() up to Document. Docment APIs now automatically ensure _masterEditor exists when needed instead; however this may go awry if the Document is not guaranteed to wind up in the working set or the current editor after the API call is complete.
working on context menu tests
Context menu unit tests
fixing context menu unit tests
Merge remote-tracking branch 'origin/master' into tvoliter/context-menus

* origin/master: (23 commits)
  fix unit tests. update extension name reference
  code cleanup
  Move extensions/disabled/JavaScriptInlineEditor to extensions/default/JavaScriptQuickEdit
  fix updating prefs on shutdown
  Add unit tests for whitespace in function identifiers
  Skip whitespace in function identifiers
  use explicit project path string for key
  Code review comments round 3
  add beforeProjectChange event. save file list for each project.
  Code review comments
  Code review comments part 1
  Fix bugs when printing nested results
  Add hierarchy to PerformanceReporter results
  Add perf logging for offset calc
  Add sum of regexp timing
  fix CodeMirror SHA
  Show "(None)" in PerformanceReporter when measurement does not exist.
  Use CodeMirror tokenizer to find the end brace of a function
  Remove global window. Use isArray instead of duck typing.
  Optimizations to JSUtils
  ...
code review fixes for Menu tests code review
code review fixes
Merge pull request #1066 from adobe/tvoliter/context-menus

Context menu bug fixes and unit tests