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