add attributepreset draft && fix forms code bad practices
Merge branch 'master' of https://github.com/capensis/canopsis-webcore

Conflicts:
	var/www/canopsis/core/application.js