Use new pdfminer API if old one isn't available
Remove all bits of old API from outside of try blocks

Thanks to Kris Thielemans for troubleshooting.  Closes #13.
Merge branch 'pdfminer'