Merge pull request #1328 from chrox/master

various fixes for the upcoming stable release
pull latest base: fix libk2pdfopt

fixes #1330
needs https://github.com/koreader/koreader-base/pull/290
Merge pull request #1331 from hwhw/master

pull latest base: fix libk2pdfopt
fix for rotated document to file manager transition: do a refresh

fixes part 2 of #1333
fix: save properly last open menu in reader

20fd6f902e1b1c2d47232442699d0d0254dba5f4 missed the saving part when
renaming the configuration variable.

Fixes #1335.
Merge pull request #1334 from hwhw/master

fix for rotated document to file manager transition: do a refresh
fix #1336 by ignoring uncompatiable saved highlights