Promoter's fixes now applied

Conflicts:
	meta2v2/meta2_utils_json_out.c

Change-Id: Ib7e69ae3f3dfdb70fe747ac7416b3a0bc5ea236c
(cherry picked from commit 57d876002112c09bfb4f2faee99900df3247d908)
Patched election mechanism (FVE)

Elections stalled in PRELOST state.

Change-Id: I24cdf49c213ada372b76e19b1f0bd586276fa024
(cherry picked from commit b18c70ba2f1c8049e322cb02bfc0a6138729ec8c)
Fixed problems of nodes registred several times.

symptoms : redirect on itself, election with more nodes than active services.

This comes from to many calls to member_reset().
It is necessary to check for the current local ID before retrying.
If the local ID is set, we must explicitely leave before retrying.

Change-Id: I96d2e8539be033cdfe7c48e593da9188f512e05f
(cherry picked from commit 0a6f2755290413531908a38c45f918be3c9a37c9)
client: fix TO-HONEYCOMB-763 (too much errors when meta1 down)

Client now retries on other meta1 instead of trying to create the container.
Integrity loops tries other meta1 before moving chunks in lost+found.

Also fix a bunch of memory leaks.

Change-Id: Ie251cad03639fd4f03a3f3edee5c5762ad9142f6
(cherry picked from commit 52c2a8c6a54b1c06db465daf01c284640f44e0e9)
libintegrity: make m2v1_list static rather than extern

Change-Id: I4a9e59b9a20637a5314e17ccf6e9d901cc573063
(cherry picked from commit 6265c6de5d40ed68a986d43c85ce59fc979d2d28)
meta2-mover: wait before retries when defreezing container
metautils: improve error message when deserialization fails

(cherry picked from commit 2fc8e027212c69898661327a23cde4f5333dd201)

Change-Id: I782957322fee3bb3455e5e68aca8e50a471d7eb0
(cherry picked from commit 6607ea0a18f215e30eef2872941c42323e3939af)
m2v2: add detection of container id in URL
and fix M2V2_GET when called with container id only

Change-Id: I52093eae4ba3178bbd965227110792a9ccf90063
(cherry picked from commit 59a7ea8d035a088d8b4e87ba778fcb114a502047)
integrity: check_and_repair function, simplify hc-policycheck

Change-Id: Ic544e608df655fdf78f1e9ffd80214da75107c04
(cherry picked from commit 6ca685f60bf0828fdce429af31761f2e08724c2b)