Fix for #92 and #113

This is the long awaited upgrade to itextpdf. It took me a while to isolate the changes to the code that where specific to the issues #92 and #113. But I managed to get it done. gradle builds.

Hope to hear from you if this fix is as expected.

Kind regards,

Milo van der Linden, OpenGeoGroep