refactor loaders and factories
Merge branch 'master' of https://github.com/capensis/canopsis-webcore

Conflicts:
	var/www/canopsis/uibase/lib/loaders/editors.js