Search template list by providing partial name, ID, or other key.

def Search(self,key):
		"""Search template list by providing partial name, ID, or other key.

		"""

		results = []
		for template in self.templates:
			if template.id.lower().find(key.lower()) != -1:  results.append(template)
			elif template.name.lower().find(key.lower()) != -1:  results.append(template)

		return(results)