Merge pull request #106 from houqp/houqp-master

ev_replay.py: update emu_event path to /tmp/emu_event
add writing direction option in koptcontext
Merge pull request #107 from chrox/master

add writing direction option in koptcontext
select word with x and y screen coordinates in credocument
Merge pull request #108 from chrox/master

select word with x and y screen coordinates in credocument
add ability to write blitbuffers to PAM files
Merge remote-tracking branch 'upstream/master' into blitbuffer-netpbm
drop 16bit grayscale blitbuffer implementation, replace by 16bit RGB

Kobos (and in the according mode, other readers probably, too) do not
have a 16bit grayscale framebuffer mode but rather an implementation
of 16bit RGB framebuffers. So we implement that now.
oversight old Color16 reference
bugfix for RGB32 to RGB16 conversion
test for RGB16 instead of 16bpp grayscale
removed leftover cruft
Merge pull request #109 from hwhw/master

Blitbuffer fix: drop 16bpp grayscale, introduce 16bpp RGB
some more old leftovers removed
Merge remote-tracking branch 'upstream/master'
import document module on-demand
This will save several megabytes of RAM when startup.
rename references to plain "SDL" to "SDL1_2"
Merge pull request #110 from chrox/master

import document module on-demand
switch SDL input handling over to FFI (still SDL1.2)
SDL 2.0 support

this is a straight-forward migration from the SDL 1.2 code we had
before.