reduce code duplication

Change-Id: Ie5910239d7a54a29262e556af779bda9fa2dddca
reduce code duplication in LOK init.cxx

Change-Id: I65335a2d0fb6e1ff46e3302463fbcf396fbea215
Ignore exception when service ScannerManager is unavailable

Exception from an unavailable service ScannerManager propagated to
the top. This caused that presentations in android crashed
(DrawViewShell wasn't initialized).

Change-Id: I485d0cdad05e4d2d6096042e5762c0350a8339a9
android: Add logic to change document parts from sidebar

Add click listener for list elements (parts) in "drawer layout"
side bar, add new LOEvent - change parts, propagate the change event
up to TileProvider, call setPart on LOK facade, clean all tiles and
redraw.

Change-Id: I711e0fb5e7e867cef87f97b96f1292d7c6801083