PDF Writer: Attempts to convert images to pdf renderable formats

Now depends on the JuicyPixels library.

Will attempt to convert an image (gif, tiff, bmp) to png when converting
to pdf.
LaTeX Writer: Added missing closing braces to hyperdef commands