switch to new dynamic loading library build

separate output directories are created per-architecture
small fixes
interim merge of latest upstream
consolidated Makefile, adapted to dynlib approach
update koreader-base submodule
Merge pull request #205 from hwhw/master

Adaptions for dynamic library aware koreader-base and some streamlining
transfer libk2pdfopt to koreader
Merge pull request #218 from chrox/master

transfer libk2pdfopt to koreader
Initialize FileChooser with root_path, otherwise the command line argument (directory) is ignored
Use `lfs.currentdir()` to get default `root_dir` as an absolute path
Merge pull request #219 from thotypous/master

Initialize FileChooser with root_path, otherwise the command line argument (directory) is ignored
update koreader-base
Merge pull request #221 from thotypous/master

update koreader-base
bugfix: fix screen ghosting after swiping north/south in scroll mode
As swiping north/south will generate several pan gestures which will
set refresh mode to WAVEFORM_MODE_A2, we should explicitly do a full
refresh in order to switch refresh waveform from WAVEFORM_MODE_A2
to WAVEFORM_MODE_GC16 as in OnPanRelease.
Merge pull request #222 from chrox/master

bugfix: fix screen ghosting after swiping north/south in scroll mode
fix bug #179
It seems that the setPageMargins method will mess up XPointer of current view.
This bugfix simply disables page margin restoring in readercopt.lua so that
reading position is restorable.
fix calling setFontSize in pdfreader
Don't kill nickel software, it's not really needed and might prevent issues with database corruption.
Merge pull request #225 from giorgio130/master

Don't kill nickel software on kobo
update koreader-base to fix bug #224