List hostgroup function.
Merge pull request #9 from orviz/add_hostgroup_list_func

List hostgroup function.