client: translate slaveok into secondary preferred.

This will allow clients to dispatch to secondaries for reads if
slaveok=true in the MongoDB connection URI as the default read
preference.

We might want to determine if SECONDARY_PREFERRED is the ideal, or
if we want NEAREST. Since NEAREST is a bit confusing in how it actually
works, SECONDARY_PREFERRED is probably the way to go.
build: allow including private files by drivers

This is meant by drivers that will staticly link libmongoc-priv.a. If you
are not doing so, you shouldn't use these.
Release 0.98.2!

Signed-off-by: Christian Hergert <christian.hergert@mongodb.com>
fix a bug in socket_sendv

We didn't handle EAGAIN/EWOULDBLOCK/... appropriately in socket_sendv.
Now we check for and handle it
Bulk API fixes

o We didn't manage the index offsetting correctly for bulk inserts.
o We didn't massage errors into writeErrors for legacy operations
cluster: explicitely check for NULL replSet.

Fixes CDRIVER-409.
Merge pull request #65 from hanumantmk/writeErrorFix

Bulk API fixes
allow bulk op insert for w:0 bulk inserts

o fixes a performance regression for 2.6 w:0 writes
o allows w:0 writes to fast path out of the bulk api on 2.4
Add a link to the docs
Merge pull request #67 from bjori/patch-3

Add a link to the docs
CDRIVER411 never send a negative nToReturn

Remove logic that sends nToReturn to avoid missing documents that don't
fit in the initial batch.
finally get the correct nToReturn value

if command:
    1

if batch size:
    if limit:
        min(batch_size, limit)
    else:
        batch_size

0
client: apply read preference tags from mongoc_uri_t.
cluster: set proper error if we fail to locate a node.

This could happen if read preferences prevent finding a suitable node.
build: add $(BSON_LIBS) for mongoc-rpc-validate test program.

This should fix builds on systems like Ubuntu with non-standard GNU ld
configurations.
build: fix build on centos 6.5
git: update .gitignore to ignore *.gz
build: bump libbson
build: include html files in release tarballs
Release 1.0.0!

Signed-off-by: Christian Hergert <christian.hergert@mongodb.com>