Merge pull request #1131 from hwhw/master

Fix refresh in rotated (landscape) mode when using viewport
make fake_events device a private feature of the Kindle device initialization

This is highly Kindle-specific, so we keep it there for now
fixes for picdocument

picdocument didn't use the document API correctly
update base

depends on pic_jpeg FFI conversion