Update code and README to work with zabbix-2.4

Hi! Please, merge changes needed to work with zabbix-2.4.