Merge branch 'release/libmongo-client-0.1.6.3'
configure.ac: Enable subdir-objects for automake

Since we have sources that reside in a subdirectory, enable the
subdir-objects automake option.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
.gitignore: Ignore "compile" too.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
sync: Automatically re-authenticate on reconnect

If we were authenticated, via mongo_sync_cmd_authenticate(), then
reauthenticate with the same credentials on reconnect. The credentials
are stored in an mlock()'ed area for safety, and are zeroed out before
freeing them up.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
sync: New function: mongo_sync_cmd_user_add_with_roles()

The new function is essentially the same as mongo_sync_cmd_user_add(),
except it takes a BSON array too, which lists the roles the created user
should have.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
NEWS: Started adding 0.1.7 NEWS items

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Merge branch 'feature/replica-auth'
NEWS: More 0.1.7 NEWS

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
tests: Removed an unused variable in f_sync_auto_reauth

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Release libmongo-client 0.1.7

Finalised the date in NEWS, bumped the version in configure.ac, and
updated the library version information in src/Makefile.am.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Merge branch 'release/libmongo-client-0.1.7' into stable