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
sprint 27 - updated czech language
Add CONFIRM_FOLDER_DELETE to strings
Add CONFIRM_FOLDER_DELETE_TITLE to strings
Confirm folder delete modal fixes #4446
Merge remote-tracking branch 'upstream/master' into confirmDelete
Add folder name template to CONFIRM_FOLDER_DELETE
Update from 'OK' to 'Delete' button text
Update German Localization
Merge remote-tracking branch 'upstream/master' into confirmDelete
Update button text to new DELETE string
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
Improved fix for #3889 (Middle click should close files):
- Don't go through normal selection-click handling codepath first: detect
middle click in the same place we filter out close-button clicks. No longer
need a separate click listener as a result.
- Use constants for event.which
- Remove long-commented-out rename code
- Move misplaced comment ("might never have been opened") to its rightful
home
Implmentation of beforeAll/afterAll
Updated by ALF automation.
Use one window for htmlToCSSProvider tests
Add new strings to swedish translation.