XGC-86: DSCParser always throws DSCException %%EOF not found when checkEOF is false
Patch by Teon Metselaar, applied with minor changes + a test case


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