Provide support for both zabbix 1.8 and 2.0 (and maybe 2.2)

Zabbix 2.0 changed it's schema a bit.  As such, we need to restructure our query to find the hosts.