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
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
m2v2: fix TO-HONEYCOMB-762 (assert during content copy)

Change-Id: I11b346b79dc0e1a37b9b8d03a281c44a0945f92e