src/libmongo-client.ver: Explicitly list LMC_0.1.0 symbols

Instead of tossing every otherwise untagged symbol under the LMC_0.1.0
version, use an explicit list.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
sync: connection recovery cache (with tests) added

libmongo-client dropped replicaset and auth. credentials when a
connection closed (disconnect() ). This can lead to a re-connect failure
problem (reload), if the master, at the moment of disconnect(), is not
listed in the application's config. So we have to store it (and also
authentication credentials...) .

This patch adds a recovery cache to each mongo_sync_connection object. A
recovery cache stores a ReplicaSet and an AuthCredentials object.

More techinally: there is a pointer inside mongo_sync_connection object
which references such a cache. If the cache is not set, everything is
just happen as before. When the cache is set, ReplicaSet and
AuthCredentials will be reused by the next mongo_sync_connection (eg.
after reload). When the seed list is changed, the user should discard
the cache.

Signed-off-by: Budai Laszlo <lbudai@balabit.hu>
tests: Include <glib.h> in libtap/tap.c

We're using g_vsnprintf(), so include glib to silence a warning.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
tests: Code cleanup

Removed some unused variables.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>