VE-1446 Track template events

https://wikia-inc.atlassian.net/browse/VE-1446
The point is to check that there is only one tracking for each search. If a user types "name" in the filter, blurs the input, then clicks back into the input but doesn't change the search value, we don't want to track again when the input is blurred next. I hope that makes sense.