Merge pull request #9 from hanumantmk/win32

Full win32 port
bindings: track type changes.
sasl: make call to sasl_client_done() version dependent.
use unsigned for bitflags.
tests: fix build on freebsd10.
build: bump deps on libbson.
build: install mongoc-thread.h as required by compat.
init: call mongoc_init() using a ctor on GCC.
build: link against nsl on solaris.
documentaiton updates

o updated configure.ac to generate MONGOC_SYMBOLS and MONGOC_API more
  portably. tr instead of xargs

o added docs for the new exported symbols
cursor: fix COMMAND_NOT_FOUND on 2.5.2.
whitespace.
tests: call srand() before running each test.

Include the seed in the output.
tests: uname() is simply non -1 on solaris.
build: remove -Wunused-but-set-parameter
includes: sys/uio.h for writev().
tests: seed rand when adding test, and call srand() before test->func().
ssl: add check for > 0 bytes read before compare check.
tls: synthesize errno if not set.

Fixes tests on freebsd10.
tests: TestSuite cleanup.