add editor factory; editors can now have js
Merge branch 'UIV2' of https://github.com/capensis/canopsis into UIV2