VID-1960 Task to purge cache for pages with gallery tag
Improve iteration process over gallery pages
CC @garthwebb
Fix offset. Thanks @garthwebb
Merge pull request #4735 from Wikia/VID-1960

VID-1960 Task to purge cache for pages with gallery tag