Refactor ad targeting

So that same targeting can be applied to video ads.
Refactor video ad targeting

So that uses same targeting as that applied to standard ads.
Refactor querystring building
Add edition to ad targeting
Add Criteo segmentation to ad targeting
Refactor Criteo segment targeting
Reduce number of Audience Science segments to target
Use single quotes
Add Audience Science Gateway segments to ad targeting
Add switch for third-party segmentation ad targeting

Audience Science Gateway segments.
Add switch for third-party segmentation ad targeting

Criteo segments.
Use audience-science switch in ad targeting

So that switch is used to determine whether Audience Science segments should be used to target ads or not.
Make ad-targeting switches temporary
Refactor iteration through array
Include config as a dependency
Refactor ad segment matching
Refactor ad targeting
Merge pull request #3848 from guardian/kc-ad-target

Make Ad Targeting Consistent