A basic infrastructure for loading client-side plugins via requirejs
Probes wheren't activated before, so shouldn't be now
Add a sample plugin that removes trailing whitespace on save. Also add the api that this plugin uses.
Bugfix: when onSaveTransforms are present, must save the transformed text, not the original text.
Generalize save-hooks to allow more then one handler to be registered. Implement a second sample plugin.
Some cleanups to the trailing-whitespace sample plugin.
Work in progress
Plugin that uses an 'exports hook' rather than an api call. Implement loader mechanics to handle it.
Merge branch 'master' into plugin-loader

Conflicts:
	client/scripts/setup.js
Restore editor selection after pre-save transform.
Change plugin serving code to use 'express.static' midleware.
Generalize plugin server to search for plugins in multiple locations to allow 'shipped' and 'user' plugins.
Remove a already done TODO comment.
Revert back to amd form of copyright plugin. Keep alternative implementation in 'disabled' form.
Merge branch 'master' into plugin-loader

Conflicts:
	client/scripts/setup.js
Merge branch 'master' into plugin-loader
Move scripted plugin-loader hookup from setup.js to main.js
Merge branch 'master' into plugin-loader
Work in progress towards adding a config api to the plugin infrastructure.
Merge branch 'plugin-loader' of github.com:scripted-editor/scripted into plugin-loader