Fix Issue #3 - Generate all pages for PDFs

This fixes the issue by handling PDF documents with DocumentRenderAgent instead of ImageMagick.