Merge pull request #1306 from hwhw/master

Refresh refactoring, frontend/UIManager side
update base: fixes for tests, libk2pdfopt without mupdf linkage