libintegrity: initialize gthreads in check_and_repair_content2

Change-Id: Id70627d516f970308f94f870b23ce418b8517d27
Merge "libintegrity: initialize gthreads in check_and_repair_content2"
Several fixes

JSON fixed for service_info.
Finer decache in resolver.

Change-Id: Ib145ba973ad7d9f3810c4c0fa4f30f1be1ff4639