Merge pull request #824 from houqp/master

add bootstrap emu for old code base
adaptions to koreader-base framework

This is not yet perfect, rendering text doesn't seem to "add" the values
correctly.
Merge pull request #825 from hwhw/master

Adaptions for new koreader-base framework