meta2v2: add notification on M2RAW_CHUNKS_DEL request
Factorize code for add_raw_v1 and del_raw_v1.

Change-Id: I61b7acebd9c690d343fc5ede39c00d2ed8aa01c4
sqliterepo: new database close flags

Change-Id: I9fc7e6d3bd447dd4f00970cb9395d8dfbe7e391f
m1v2: optimize VNS_STATE by closing meta1 bases immediately

This is a modification I made a while ago, but that
wasn't merged. It limits meta1 memory usage while executing
REQ_M1_GET_VNS_STATE, and prevents the problem of memory
pages kept in cache by malloc.

Change-Id: Ie56abf4d2c2a3926bdf8ec143b7daa82f10021c6
Merge "meta2v2: add notification on M2RAW_CHUNKS_DEL request Factorize code for add_raw_v1 and del_raw_v1."
"Custom vs Standard" paths reviewed.

json-c and rdkafka management now better taken into account.
This allows compiling on a ubuntu server as weel as on a centos distribution.

Change-Id: I1c8adf8ab213c2a7d4927fbbe1e031dc782792ea