Fixed bug #594: Nagios 4 fix contactgroups parsing

After parsing the configuration files, the code was rejecting contact
groups with no members. It should have been reject contact groups only
when there were no members and no member groups. This commit fixes that.