VID-1786 Implemented tracking for galleries and slideshows

Understand JS so much better now ...
VID-1786 Removed logging.  Seems nice but probably too chatty
VID-1786 Coding conventions
Merge pull request #4031 from Wikia/VID-1786

VID-1786 Implemented tracking for galleries and slideshows