cbson: cleanup some warnings.
iter: add BSON_ITER_IS_KEY macro
Fix documentation

bson_iter_date_time returns the unix timestamp in miliseconds.
Merge pull request #41 from mcuadros/patch-1

Fix documentation of bson_iter_date_time
macros: add BSON_GNUC_DEPRECATED and BSON_GNUC_DEPRECATED_FOR
bson_metrics example
make bson_realloc really free memory
use reallocf instead of realloc on OS X
Merge pull request #43 from skaes/fix-realloc-zero

make bson_realloc really free memory
memory: simplify realloc a bit.

Now that we check explicitely for num_bytes == 0, we can drop the secondary
check at the end of the realloc and simply fail on NULL.
Merge branch 'master-metrics' of github.com:gjmurakami-10gen/libbson into gjmurakami-10gen-master-metrics
build: require -lm for metrics.
update .gitignore.
metrics: protect against max recursion depth of bson document.
metrics: style cleanup.
Add a realloc ctx to bson_writer_new

Add a realloc_func_ctx to bson_writer_new and thread an additional
realloc_func_ctx on bson objects to allow for custom reallocs with a
handle.  This is to provide support for custom allocators without global
storage.  One that comes to mind is a pool allocator, where the context
object is a specific pool.
keys: just use snprintf for key generation after 1000.

This is not super common, so the slightly slower snprintf seems the
safest route.
keys: and set strptr to str.
metrics: use PRIu64 for format.
bson-metrics doc_size_max and doc_size_average