Cleanups, mainly to unit tests:
- Improve docs in SpecRunnerUtils
- Add assertion in SRU in case a mock Document is created without an Editor
but then used in a way that would auto-create an Editor (which won't get
cleaned up)
- Add assertion in _destroyEditorIfUnneeded() since its name makes it easy
to call with the wrong type (including via SRU.destroyMockEditor())
- Rename HTML code hints suite & remove unused var
- Minor docs cleanups in LanguageManager (incorrect usage of "i.e.", missing
docs for new fileNames option, etc.)
- Add unit tests for install dialog cases where installer comes back with a
result after clicking Cancel but before Cancel times out, or comes back
vary late after timeout once user has opted to close the dialog
- Remove a duplicated LanguageManager test (due to f67cfcdf)
- Add a few more StringMatch tests to ensure tricky cases don't break in
the opposite direction as before
Cleanups:
* DocumentManager: use CollectionUtils.forEach() in notifyPathNameChanged()
(removing early-exit optimization that's probably unneeded; can reintroduce
when CollectionUtils.some() lands)
* Move filename->language mapping tests from Editor-test to LanguageManager-test
* Add another #330 testcase as suggested by Glenn in #3064
* Add StringMatch testcases as suggested by Kevin in #3417
* SpecRunnerUtils: use waitsForDone() more
* CSSUtils-test: remove unused vars
* Dialogs: tiny docs improvement
Merge remote-tracking branch 'origin/master' into pflynn/unit-test-cleanups

* origin/master: (1140 commits)
  Documentation nits from code review
  Updated by ALF automation.
  Updated by ALF automation.
  Unit test for Save As bug related to untitled documents (see note at https://github.com/adobe/brackets/issues/4468#issuecomment-21284958). Fixed as a side effect of PR #4514.
  - Add unit test that @bchintx wrote to cover #4484. - Remove redundant timeout args in unit tests (same val as default) - Fix JSLint whitespace errors I noticed in ProjectManager
  Using "workingSetSort" instead of "workingSetAdd" in certain cases of addToWorkingSet() was problematic, since FileViewController attaches specific meaning only to the latter.
  Cosmetic tweaks to modal header background color, tables, and typography.
  Attempt a cleaner fix for bug #4484 (Working set broken after Save As / save untitled outside project): * addToWorkingSet() ensures item is moved to requested index, even if it was already in the working set at some other index * Add a force flag, so we can guarantee a redraw after suppressing it during removal earlier * Call handleFileAddToWorkingSet() directly from _doSaveAs() to simplify plumbing (no advantage to going through FileViewController in this case)
  code review comments
  add registry URLs
  add unit tests for update button and registryUpdate event
  fix async close of dialog in afterEach
  update extension manager spinner and registry UI unit tests. update sanity check string.
  when prompting to save-as an untitled document, activate that document in the editor
  Updated by ALF automation.
  Disabling failing unit tests
  code review comments part 2
  change layout for extension manager messages
  Updated by ALF automation.
  oops, of course can't use CollectionUtils...
  ...

Conflicts:
	src/language/LanguageManager.js
	src/widgets/Dialogs.js
	test/spec/Editor-test.js
	test/spec/FileIndexManager-test.js
	test/spec/InstallExtensionDialog-test.js
	test/spec/SpecRunnerUtils.js
Fix JSLint/JSHint errors (some of which were on master).
Small docs & formatting tweaks.
Fix merge cruft in Editor-test & CSSUtils-test.
Fix for issue #4562
fix jshint errors on travis by pegging jshint to 2.1.4
Merge remote-tracking branch 'origin/master' into pflynn/unit-test-cleanups

* origin/master: (30 commits)
  turn off optimization in acorn (but not acorn_loose right now)
  cleanup unit test prefs
  temporarily switch to my tern
  Revert "Revert "Workaround for the Tern crash.""
  Update README.md
  Work around #4554 (Extension Manager font is hard to read on Windows), which is a Chromium bug, by avoiding the lightest font-weight on Win. Lighten the text slightly so it's still a little muted, like the design looks on Mac and with older CEFs on Win.
  Revert "Workaround for the Tern crash."
  Updated by ALF automation.
  Re-add toolbar hover. Fix some button appearance issues.
  Updated by ALF automation.
  * Fix bug #4548 - remove Save As from folder tree context menu * Fix exception thrown when File > Save As invoked with nothing open * Update docs for working set events to reflect PR #4450
  integration tests for registerInlineEditProvider
  Fixes after review
  JSDoc fixes.
  Fix for extensions compare
  show error message and add safety check
  For #4535, show error message but not 'remove' link for bad extension in dev folder
  Refactor provider callback for export
  Generalize registerInlineEditProvider and registerInlineDocProvider to take an optional priority parameter
  change upper limit to 16000
  ...
Code review fixes - tweak docs, cleanup vars, convert for to forEach()
Merge pull request #4599 from adobe/jasonsanjose/grunt-jshint-fix

fix jshint errors on travis by pegging jshint to 2.1.4
Merge pull request #4569 from lkcampbell/fix_issue_4562

Fix for issue #4562
Update CodeMirror to latest SHA
Set sprint 29 version
Merge pull request #4610 from adobe/nj/set-sprint-29

Set sprint 29 version
Code review: some more small JSDoc fixes
Merge pull request #3429 from adobe/pflynn/unit-test-cleanups

Smallish cleanups to docs & unit tests; improve a few tests
Merge branch 'master' of https://github.com/adobe/brackets