Make jbig2 dependency test-only.
Support the latest PDFBox 2.0 trunk.