bugfix in hostgroup.py
set self_name for contacts,contactgroups and hostgroups