added tesseract support

I made a few backwards-compatible changes to pdfocr to add the new option `-t` which chooses tesseract as the OCR engine.