mongo-client: store errno value in mongo_connection

Signed-off-by: Budai Laszlo <lbudai@balabit.hu>
mongo-sync: add errno getter to mongo_sync_connection

errno is stored by mongo_connection, parent of mongo_sync_connection

Signed-off-by: Budai Laszlo <lbudai@balabit.hu>