.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>