Bug 694770: Fix typo in error message.

Thanks to Makoto Fujiwara for spotting this.
Bug 694765: Fix typo in man pages.

Thanks for Francesco Turco for spotting this.
Bug 694794: Fix blendmode use in pdf device.

Previously we were setting blendmode in the created form XObjects
transparency group definition. This didn't work as PDF readers don't
look for it there.

Now we set it in the calling stream's resources, and set it before
calling the group.
Bug 694749: Fix transformation of hinted glyphs

Simple typo. Thanks to Alexander Monakov for spotting this.
Bug 694715: Fix typo in error message

Thanks to Michael Cadilhac for spotting this.
Bug 694712: Do not create empty Contents stream for new pages.

Empty Contents streams are not valid - they need a length at least.

The alternative approach would be to put /Length 0 and update it
later.
Bug 694810: Implement late file repair for PDFs.

Currently, if we spot a bad xref as we are reading a PDF in, we can
repair that PDF by doing a long exhaustive read of the file. This
reconstructs the information that was in the xref, and the file can
be opened (and later saved) as normal.

If we hit an object that is not in the expected place however, we
cannot trigger a repair at that point - so xrefs with duff offsets
in (within the bounds of the file) will never be repaired.

This commit solves that by triggering a repair (just once) whenever
we fail to parse an object in the expected place.