PDFBOX-1983: added quick fix for regression, added test for PDInlineImage

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1578034 13f79535-47bb-0310-9956-ffa450edef68