XD-1123 Activate profiles from some module options

Restore options as properties for plugins

Apply profiles to trigger

Fix trigger module in default case

Remove defaults from xml file

Fix trigger module and other fixes
XD-1123 polishing