fix normalize_hostname for hostgroups

normalize_hostname is currently broken

Hostnames are downcased in hosts.cfg.erb but not in the hostsgroup definitions. This patch fixes that by extending the normalize_hostname support to hostgroups.