unlink_templates now uses host.update to unlink a template and clear the templates items from the hosts
Added two new functions to get the hosts associated to a template. get_hostids returns an array with the ids of the associated hosts on the other hand get_hosts returns a hash array with more information (hostids and names)