allow a Vignette url to change formats after the url has been generated

@Wikia/platform-team @kvas-damian 
https://wikia-inc.atlassian.net/browse/PLATFORM-647

`ImagesService:: overrideThumbnailFormat()` is called after the url for an image has been generated, so we need a way to change the output format from a string :cry: 
Can you move this to the top and exit early for clarity? That will leave a simple `if/else` here both of which are guaranteed to be vignette URLs.