Fixed video adverts with multiple impression pixels
Defended against differing VAST templates and impression nodes
Moved variable declaration to prevent hoisting
Renamed toArray method
Merge pull request #1267 from guardian/fix-video-ad-impressions

Fixed video adverts with multiple impression pixels