add support for menu sections
Merge remote-tracking branch 'origin/master' into tvoliter/issue-1210

* origin/master: (41 commits)
  Replace window.onload with $.ready() to fix unit tests.
  Add path for text plugin now that it is needed for unit tests.
  add comments
  code review fix
  Code review fixes
  Remove KeyMap.js (it's not longer needed and it came back into this pull request)
  Code review cleanup
  updates for code review
  Use Array.isArray instead of $.isArray
  Adding back Previous/Next Match back into Navigate menu.
  fix ProjectManager unit tests
  comment and todo clean up
  remove global from regex expression so only the first match is made bold
  refactor api to allow for programmatically opening a project
  Trigger code hints on "<". Show popup above the line if not eough room to show it underneath the line. Also update the popup location as we filter the code hint list which can change its height.
  Fix my careless mistake; should be "<=" in comparison.
  Fixed an issue with Home key. We are incorrectly showing popup with an empty filter instead of dismissing the popup.
  don't highlight codehints on hover
  add codehint-menu class. remove shadow, padding
  Add item highlighting and keyboard navigation/selection.
  ...
Tests for menu section insertion
remove empty menu section test
Adding function comment blocks to Menus.js
Additional comments in Menus.js for sections
Add escape key handling for menus and inline widgets
Implement remove all widgets
Merge branch 'refs/heads/master' into jason-sanjose/esc-key
Extract code hint query from tagInfo.tagName instead of extracting it directly from code mirror text using cursor position.
Also fix an offset issue in HTMLUtils when the cursor is after white spaces and before a left angle bracket.
initial checkin
Implement generic pop-up Esc key handling
code review fixes
Merge remote-tracking branch 'origin/master' into tvoliter/issue-1210

* origin/master:
  Update CodeMirror SHA
  Clarify clickDialogButton async scenarios
  Allow failed tests to be re-ran individually. Change clickDialogButton to wait for dialog closing generically.
  Update CodeMirror SHA
  Fix issue 1028. Automatically add the new file to the working set upon completion of the file creation.
  Conforming to style guides; fixing undeclared var in test
  Update unit test
  Fix async bug  in unit tests when dismissing file save dialog
  - Update CodeMirror SHA for Sprint 11's upstream merge. - Switch Editor code over from our fork's old scrollPos() API to the new getScrollInfo() from upstream.
  fixes as per peterflynn's feedback
  duplicateText amended to handle end-of-file scenarios, adding new line; testing thereof
Bug fixes
fix return key code
Code review fixes
Move the long comment before the corresponding code.
Fix issue #1240 (Inline editor background doesn't extend all the way to
right when scrolling) - CodeMirror changed the way it props its width open
such that lineSpace's width is no longer explicitly set to the max width
of all the lines (lines wider than the viewport simply overflow it). We were
checking this width to decide how wide inline editors must be. However,
lineSpace's _content_ is still as wide as the max line (due to the pos of
the new widthForcer div) so we can use lineSpace's scrollWidth and still get
an accurate number.
use public document instead of private _codeMirror