Tesseract Restored

Restored tesseract ocr functionality to the document processor module.