Implement ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS

fixes #5501
fixes #5502
fixes #5503