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
Enhance status bar to show length of selection (cols if within a single
line, line(s) or partial lines if selection spans more than one).

Hoist out \t converion logic from EditorgetCursorPos(). Add unit tests for
it.
cleanup unit test prefs

force reset of unit test preferences

reuse test window for DocumentCommandHandlers-test

separate in and out of project save as tests

add jasmine global

match NodeConnection timeout for unit tests

free test window variables before closing the test window

code review comments

code review comments

jsdoc cleanup
Merge pull request #4563 from adobe/jasonsanjose/clean-unit-test-prefs

Unit test preference cleanup, reuse test window for DocumentCommandHandlers-test
Implmentation of beforeAll/afterAll
Initial separation of JSLint extension into generic linting manager (in
core) and headless JSLint-specific 'linting provider' (in extension)
Updated translation for "BUTTON_STOP"
Updated by ALF automation.
fix unit tests and move function hint type parsing into the tern worker.
turn off optimization in acorn (but not acorn_loose right now)
More linting extensibility work:
* Separate out "JSLint" strings, so linter name is also extensible
* Nicer-structured linting results API; JSLint extension translates JSLint
results into this generic format
* Different tooltips for linting disabled vs. no linter for filetype
Use one window for htmlToCSSProvider tests
* Fix JSLint unit tests for linting extensibility refactoring
* Remove "jslint" references from CSS/HTML names
* Add linting levels to linting API (not exposed in UI yet)
* Fix bug: exception clicking in empty parts of errors panel
* Fix bug: panel title blank if was closed at startup time
* Add a META linting level so core linting code doesn't have assumptions
about decrementing the error total.
* Remove "JSLint" from toggle-enabled command
* Fix bug where tooltip string for the disabled case wasn't used
Add HintUtil2.formatParameterHint and fix bugs
Add new strings to swedish translation.
Correct already translated strings.
fix jshint errors on travis by pegging jshint to 2.1.4
Merge pull request #4595 from adobe/dangoor/v8-crash-redux

v8 crash (acorn parsing) workaround
Merge with master