starting work on removing references to window.editor and window.subeditors
new editorUtils module

gets main editor
gets sub editor
gets "current" editor
some more window.editor refactoring
Remove almost all references to global editor and subeditors variables.
Avoid improper use of private property.
Final removal of all window.editor and window.subeditor references.
Initial support for content assist proposals with custom variables now working.

Problem: parameter positions and escape position not updated after proposal is accepted.
Merge branch 'master' into v0.4.0

Conflicts:
	tests/client/navHistory/navHistoryTests.js

Just maintaining consistency with master.
Retain selection after formatting

No regression tess.

fix for https://github.com/scripted-editor/scripted/issues/98
Add support for an original selection being after the end of the formatted text.
Merge branch 'master' into v0.4.0

Keeping the v0.4.0 branch up to date with master.

d upstream into a topic branch.
After applying multi-line template, ensure that escape positions are properly updated.
adding some extra files in play-area for more messing around
Add the ${indent} parameter for templates.
Fixing up tests to work with new templates completions.
More work on completions

1. automatically add the ${lineStart} and ${indent}
2. move the templates from jsTemplateContentAssist to a .scripted-completions file
Fix positions for functions with no parameters
Use tab to accept completion proposals Issue #66
Set focus on main/sub editor when side panel closes/opens.
Merge branch 'master' into v0.4.0

Conflicts:
	client/scripts/scripted/pane/paneFactory.js

Final merge after v0.3.0 release