sqliterepo: fix TO-HONEYCOMB-586 (big sqliterepo bases)

Base transfers are now chunked (8MiB) by default.
Monolitic transfers are still supported.

Some return codes have been replaced by constants.

Change-Id: Iecc45841bdd333f5d45bd101c68255c8c14d9111
client: fix meta1 timeouts and a memory leak

Change-Id: I1b3e069bfca183b186b42a36002f71a8f2f9f558
(cherry picked from commit 56fa88b8e8da97418d2022b201d177eb48fc023f)
Several fixes and improvements

JSON fixed for service_info.
Finer decache in resolver.
m2v2_remote_touch_content fixed.
m2v2 does not generates events when disabled.

Change-Id: Ib145ba973ad7d9f3810c4c0fa4f30f1be1ff4639