add framebuffer module using FFI for SDL/Emu mode

it seems to work fine even though the input part is still handled
in a classic Lua/C API module
Merge pull request #90 from hwhw/framebuffer-sdl

FFI module for SDL framebuffer
fix fail on init of tesseract