##### SUMMARY
If you import a template with a xml/json file the linked templates of a templates ( so the child templates not the root ones ) aren't processed if you want to remove linked templates.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
zabbix_templates

##### ANSIBLE VERSION
```shell
ansible 2.9.2
  config file = /mnt/d/Code/gitlab/zabbix-servers/ansible/ansible.cfg
  configured module search path = ['/home/fism/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /mnt/d/Code/gitlab/zabbix-servers/venv/lib/python3.6/site-packages/ansible
  executable location = /mnt/d/Code/gitlab/zabbix-servers/venv/bin/ansible
  python version = 3.6.9 (default, Nov  7 2019, 10:44:02) [GCC 8.3.0]
```

##### OS / ENVIRONMENT
Zabbix 4.4.4 on RHEL7

##### STEPS TO REPRODUCE
Export a template (no matter if with Zabbix itself or ansible). Change the corresponding linked template section of a template and reimport it.

Exported with Zabbix:
```yaml
<zabbix_export>
    <version>4.4</version>
    <date>2020-01-23T13:25:32Z</date>
    <groups>
        <group>
            <name>Templates</name>
        </group>
    </groups>
    <templates>
        <template>
            <template>fisma</template>
            <name>fisma</name>
            <templates>
                <template>
                    <name>fismb</name>
                </template>
            </templates>
            <groups>
                <group>
                    <name>Templates</name>
                </group>
            </groups>
        </template>
    </templates>
</zabbix_export>
```

Change to this with removing all linked templates ( fismb in above example ).
```yaml
<zabbix_export>
    <version>4.4</version>
    <date>2020-01-23T13:25:32Z</date>
    <groups>
        <group>
            <name>Templates</name>
        </group>
    </groups>
    <templates>
        <template>
            <template>fisma</template>
            <name>fisma</name>
            <groups>
                <group>
                    <name>Templates</name>
                </group>
            </groups>
        </template>
    </templates>
</zabbix_export>
```

##### EXPECTED RESULTS
fismb should be unlinked from fisma.


##### ACTUAL RESULTS
fismb is still linked with fisma.
if template_macros is not None:
            
            for macroitem in template_macros:
                for key in macroitem:
                    macroitem[key] = str(macroitem[key])
        if not template_ids:
            
            if template_content is not None:
                template.import_template(template_content, template_type)
                module.exit_json(changed=True, result="Template import successful")
            else:
                if group_ids is None:
                    module.fail_json(msg='template_groups are required when creating a new Zabbix template')
                template.add_template(template_name, group_ids, link_template_ids, template_macros)
                module.exit_json(changed=True, result="Successfully added template: %s" % template_name)
        else:
            changed = template.check_template_changed(template_ids, template_groups, link_templates, clear_templates,
                                                      template_macros, template_content, template_type)
            if module.check_mode:
                module.exit_json(changed=changed)
            if changed:
                if template_type is not None:
                    template.import_template(template_content, template_type)
                else:
                    template.update_template(template_ids, group_ids, link_template_ids, clear_template_ids,
                                             template_macros)
            module.exit_json(changed=changed, result="Template successfully updated")
if __name__ == '__main__':
    main()