Added pdf::format_error class to invalid pdf files.
Process PDF trailer.

Added the following classes:
* xref_table
* pdf_dict (base class)
* trailer_dict