use correct default language for thumbnails

@garthwebb @drsnyder @owend 
https://wikia-inc.atlassian.net/browse/PLATFORM-516

For local wiki files, use $wgContLang for setting Vignette's URL. For shared/foreign files, first get $wgContLang for the source wiki, then send that to Vignette.