VID-2067 sending data to galleries via data attribute instead of script tag
merging dev into VID-2067
merging dev into VID-2067
VID-2067 code cleaunup
Merge pull request #4934 from Wikia/VID-2067

VID-2067