fix relaunching browser code
reject pending _openDeferred before disconnecting
code review changes
better handling of unloadAgents()
re-use _openDeferred object
reconnect() and Inspector.Page.reload() need to run in parallel
if page changed during live preview statup, then close
Don't set dirty flag if the preference value does not change so that we don't write out to the preferences file.
For #7075, don't delete the last line if the selection ends right at the beginning
Don't set dirty flag for layer preferences also if not updating. Also return false if we don't really update.
Add two unit tests to verify that we're not updating the preferences if the value is the same.
merge master
resolve _loadAgentsPromise with new code
Simplify the code to fix the issue of unable to delete falsy preference values that I introduced. Add one more unit test for removing falsy preference values and explicit checks for dirty flags in the previous two unit tests.
Update ScrollTrackMarkers positioning metrics to better match the scrollbar
on each platform - especially Windows, which changed greatly last sprint
when we switched to custom scrollbar styling (causing #7058, noticeably
innaccurate tickmark positioning).
Fix bug #6923 (Brackets freezes for a while after saving when Find in Files
panel is open) - Ensure we're not accumulating many copies of the FileSystem
"change" listener.

jQuery happily adds duplicate listeners (even though, confusingly, removal
with .off() removes all duplicates at once). Since _showSearchResults() is
re-run any time you page through search results and many times when you're
making text edits near a search result, you can easily accumulate 1000s of
copies of the listener. On the next save or external change, Brackets will
run all the listeners back to back, in some cases freezing for a minute or
more.
Adds deprecation warnings for setAllValues and Remove
Merge pull request #7064 from adobe/rlim/panel-state-update

Don't set dirty flag if the preference value does not change.
Merge pull request #7106 from adobe/pflynn/findinfiles-hang

Fix bug #6923: Brackets freezes for a while after saving when Find in Files  panel is open
Merge pull request #7105 from adobe/pflynn/tickmark-pos-tweaks

Fix ScrollTrackMarkers positioning metrics