(BugId:100844) Distorted tracking data for components used inside and outside of the editor

This pull request basically refines the logic used to determine whether a component should be tracked through the editor tracking method or the global, generic tracking method. In the process, the logic was also split out into it's own function (Wikia.trackEditorComponent) so that it won't have to be duplicated in several places. The basic logic is as follows:

* By default, use the global tracking function (Wikia.Tracker.track).
* If the editor object is present, check to see if it's a MiniEditor instance. If it's not, it must be the main editor, so track through wikiaEditor.track.
* If the editor object is present and it is a MiniEditor instance, make sure that the instance has focus. If it does, track it through wikiaEditor.track, otherwise use the global tracking function.

I'm not sure that's the best name or place for that function, if you have any suggestions let me know.