Added a way to pass editor instance to extensions
Added a demo file
Updated documentation
Updated docs and corrected a typo
Removed console from extension.spec.js globals
Merge pull request #249 from raulmatei/pass-instance

Pass editor instance to extensions