Merge branch 'dev' of github.com:Wikia/app into dev
Replace thumbnail generation with vignette

Replace the thumbnail generation with vignette in the File abstraction.
This is more complicated than expected because the timestamp used to
store the archive file on disk is not the timestamp stored in the
oi_timestamp column in the oldimage table. The timestamp used on disk is
stored in the file name.
 - add getArchiveTimestamp to the file abstraction so we can extract
   the timestamp from the file name.
 - add isOld to the FileInterface to distinguish between archive
   images and current images
 - adjust the UrlGenerator to be aware of old vs not image so that
   the timestamp can be generated properly
 - add tests for the new behavior in UrlGenerator
Fix getUrl to return the UrlGenerator

All of the File urls should come from UrlGenerator.
Fix the anchor link to use the revision

Fix the anchor link to use the revision for the row it's currently
processing. This just means that we need to request the revision with
it's timestamp.
Add the wrappers for the $wgEnableVignette flag

Add the wrappers for the $wgEnableVignette feature flag.
Include $wgEnableVignette in the local scope

Forgot to include $wgEnableVignette in the local scope for getUrl.
Extract integer from the beginning of archive name

Extract the integer from the beginning of archive name.

/cc @nmonterroso
Assert the revision doesn't change in archive file

Assert that the revision doesn't change when using an archive file. This
should be an error.

/cc @nmonterroso
Revert "Assert the revision doesn't change in archive file"

This reverts commit 682d78a39c49709698bbbf3d7ed527b2e2068445.
Remove revision()

Remove revision() from UrlGenerate. It shouldn't be needed. We should
only be toggling it when we are working with an archived version. In
which case we can set the revision using the FileInterface methods.

I also switched to using the built-in http_build_query to build the
query parameters.

/cc @nmonterroso
Return string-ified UrlGenerator in FIle::getUrl

Ensure backwards compatibility with the getUrl interface by returning
the string version of the UrlGenerator.
Fix core whitespace
Fix \Wikia\Vignette whitespace
Remove ImagePage comments
Move UrlGenerator construction to separate method

Move UrlGenerator construction to a separate method.
Move thumbUrl via vignette to same abst level

Move the thumbUrl construction via vignette to the same abstraction
level (approx) as the rest of the transform method.
Merge pull request #4892 from Wikia/PLAT-474-file-page-thumbs

Use vignette to generate thumbnails in the File abstraction