HG-156 Add tracking events

https://wikia-inc.atlassian.net/browse/HG-156
There's a test for LocalWikiaSearchController.ts that calls endedRequest(), and I added an event track to that method, but when it's called for the test, Wikia.tracking.ga isn't defined, causing the test to fail.