dompdf: fix handling of images when rendering multiple files in a row

Fix picked from upstream Git (
https://github.com/dompdf/dompdf/commit/2c32bb3fbbdeafcd4628441de260361816aaefc7
) to properly clear the image cache, so
including images doesn't fail when rendering subsequent files with the
same images.

This issue might actually never occur in core CiviCRM itself, as it only
shows when generating multiple PDF files in one PHP invocation. However,
our extension does this, and thus becomes unusable with CiviCRM 4.4 --
so this is indeed a major regression, and the fix urgently needs to go
into the next bugfix release.

(The bug didn't manifest in previous CiviCRM releases, because of the
different setting of DOMPDF_ENABLE_REMOTE.)
Merge pull request #40 from sfe-ev/dompdf-fix

dompdf: fix handling of images when rendering multiple files in a row
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-01-08-12-02-20