Set logging levels to debug in some tests
Switch to profile module instead of hotshot
Add a few ideas from hsoft pdfminer3k

Work around inline image corruption in some PDFs: https://bitbucket.org/hsoft/pdfminer3k/commits/688e42cb63b23fed70e2e7f0252b9e5e8813044a

Fixed crash on trying to read invalid LZW-encoded data: https://bitbucket.org/hsoft/pdfminer3k/commits/1e663b5bdedc91775e5a30a9a2327a6cd5402ec2

Don't crash on invalid dictionary constructs when parsing postscript: https://bitbucket.org/hsoft/pdfminer3k/commits/080e7fc7203e2d43911f51aa129f230f272fb0b5

Fixed a crash on uneven cmap codes: https://bitbucket.org/hsoft/pdfminer3k/commits/5055540caecf860f68d54b327398e1a7865577cc

Replaced all "if STRICT: raise stuff" idioms by handle_error(), which logs a warning message. Also, don't crash when trying to get an object in an out of bounds pos. Simply warn and return None: https://bitbucket.org/hsoft/pdfminer3k/commits/6167f4b6c8af1960b543789fe77f4250caae34e4

Support object references as filters in streams: https://bitbucket.org/hsoft/pdfminer3k/commits/3fdba9abe8a72a18511074206c12c6c344460eef

Skip grouping textboxes when there's too many boxes to group: https://bitbucket.org/hsoft/pdfminer3k/commits/393ed817cb985e0798849508139abb5684a2f9f1