Fixes #4596 - change parent of hostgroup

Show parent parameters only on hostgroup view

Enable reparenting