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
Merge pull request #4890 from Wikia/VE-1549

VE-1549: Added tracking to template insertion tool