Python Script for Adding/Deleting templates to Hosts using Zabbix 1.8 API