Add new apis for view state migration and convert the remaining old preferences to the new apis.
Fix the hang issue when viewing a search result with state.json file open.
Adds Scope aliases and named contexts.

The integration tests aren't passing yet, but this adds the infrastructure
to support CURRENT_FILE and CURRENT_PROJECT lookups. Additional work remains
for ensuring that prefs for a specific file work properly and to improve
event dispatch to better support these new contexts
Implement view states migration from the old preference model.
Fix project scope failure.
Merge remote-tracking branch 'origin' into rlim/view-state-migration

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Line drawn here (implementation change to come).

This was the starting point of a refactoring to better handle a larger, disjoint
set of path-based Scopes. I can see complexity brewing and I don't think it's
worth it for path-based Scopes. After this commit, I'm going to yank out all of
the path-based Scopes code and switch to simpler, project-based approach.
Reverting some of the changes
Add deprecation warnings for the old APIs.
squashed from jasonsanjose/travis-sprint-33
use master and release target branches to limit which branches travis will build
enable test task for master and release branches
Revamped editor option handling to cover #6578
Sends notifications for default filename changes.

This fixes linting.enabled, for example.
Fix JSHint error
Project prefs no longer apply to files outside the project.
`PreferencesManager.set` now handles contexts the same way as `get`
Last bit of cleanup.

* Changed `Editor.optionChange` event to send Brackets preference names
* Updated the doc comments for the editor options functions in Editor.js
* Fixed setValueAndSave to use the new behavior.
Merge branch 'master' into jasonsanjose/squashed-cla-check

Conflicts:
	.travis.yml
Merge branch 'master' into dangoor/6578-hidden-editor-options