runner: tune logging
sql: chenges related to flag states of installed apps
useflag lib: improved ghost query
83_package_flagstates_p1: move/rename, rework and split
83_package_flagstates_p2: move/rename, rework