Private
Finds index of template by id in a list of templates.
A collection of AGO item templates to search
AGO id of template to find
Offset of of matching template or -1 if not found
Finds index of template by id in a list of templates.