Use `jpegtran` to purge EXIF data from jpegs.

XeLaTeX will still give images the wrong size when there is certain EXIF
information attached to the JPEG.  Use the `jpegtran` utility to clean
EXIF information from the JPEG before we give it to XeLaTeX.

Since the WMF test infrastructure does not have `jpegtran` installed,
skip this step when running there.

Change-Id: I1c00dc80ff052d71371300c10b16d86e98fb02ab
Use proper page of any PDF figure.

We use the `pdfseparate` utility, found in the `poppler-utils` package,
in order to separate out the pages of the PDF so that we can pass the
right one to XeLaTeX.

Change-Id: I5fdc83c5f5be0d85313ae9fce85c111590a46a5e
Allow rendering from unzipped bundle

Allow the renderer to consume an unzipped bundle file.  This saves CPU
cycles when the bundle was created on the same machine.  Due to the
use of hardlinks, the bundle directory in this case must be on the
same file system as the temp dir -- use the system environment
variable TMPDIR to specify an appropriate directory if necessary.

Change-Id: Iad77b766a12654876a7c140220df9a37dc25f6c6
Add -T option to CLI to specify a temporary directory.

This does the same thing as setting $TMPDIR in the environment.

Change-Id: I43cf578da61978a3fb0baab6e93139210c5348e0
Merge "Use `jpegtran` to purge EXIF data from jpegs."
Merge "Use proper page of any PDF figure."
Update test cases with attribution information in the bundle.

The new `multiwiki.zip` bundle exposes some issues with our handling of
corrupt image files, so we've put that one in `multiwiki.zip.new` for now.
The rest of the bundles have been updated.

Change-Id: Idd4a67852bdcfd5c1aa40365b561ba4285cdd13e