adaption of Lua/C-API for ffi KOPTContext
add ffi KOPTContext module
install tesseract data in travis
fix type of ocr_type variable in libk2pdfopt