fixes #5083 - refactor host_edit.js - remove puppetclass specific functions to class_edit.js
fixes #4204 - add config groups feature - assign multiple config groups to a host or hostgroup
squash this commit - testing and refactoring to host_common