changed excluded/included template name matching

changed how excluded or included templates are matched when adding an
item to a treelist. This prevents templates whose name partially matches
an excluded template name from being excluded. IE: Excluding template
"ContentFolder" would cause template "Content" to be excluded as well.