VE-1549: Added tracking to template insertion tool

Tracking of three different user actions:
* template search (does not matter if results returned or not)
* insert of template from suggestions list
* insert of template from search results

https://wikia-inc.atlassian.net/browse/VE-1549
https://wikia-inc.atlassian.net/browse/VE-1488
"uses" property will exist but will equal null for searched templates. I'm not sure if this check will work?