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.
add a simple switcher for SDL 2.0 / SDL 1.2

if present, we prefer SDL 2.0 over SDL 1.2