Merge pull request #260 from Frenzie/master

Fixes the bug that once true, self.sleepLight remains true
Merge pull request #261 from Frenzie/master

Add workaround for Kobo front light (deprecates KOBO_LIGHT_OFF_ON_SUSPEN...
fix auto detected bbox is dependent on page zoom level
Merge pull request #262 from koreader/chrox-master

fix auto detected bbox is dependent on page zoom level
Dug out the relevant Kobo waveform mode defines...

Makes the Kobo variant of the mxcfb ffu stuff more useful!
Be consistent in how we refer to stuff!
Merge pull request #263 from NiLuJe/master

Dug out the relevant Kobo waveform mode defines...
fix missing default waveform mode
Merge pull request #264 from koreader/chrox-master

fix missing default waveform mode
convert pic_jpeg interface to pure Lua/FFI solution

pic_jpeg had a wrapper lib before that was needed because of the
libjpeg API which uses setjmp/longjmp error handling.
By using the TurboJPEG API that comes with libjpeg-turbo, we can
use a pure Lua/FFI based approach.
Merge pull request #265 from hwhw/master

convert pic_jpeg interface to pure Lua/FFI solution
fix off-by-one in writePNG() method
fix RGB16 to 8bit grayscale conversion
Merge pull request #266 from hwhw/master

Fixes for blitbuffer implementation
don't trust Lua GC with MuPDFs objects

Use explicit fz_free_.../fz_drop_... for MuPDF objects instead
of registering a function that would do so upon garbage collection.
Garbage collection can't really be relied upon - especially, since
Lua doesn't really know how much memory the MuPDF objects claim
and would only use the footprint of a pointer for calculation.
Merge pull request #267 from hwhw/master

don't trust Lua GC with MuPDFs objects