writer: add some documentation.
keys: add optimization for converting array indexes to strings

bson_uint32_to_string() will allow for fast conversion if the string
is in a known area. It does this by using a lookup table.

Test case went from 2.69 seconds to 1.25.
docs: add building example.
bson: make check exact.
clang fixes.