cleanup and a little more win32 compat

Removing bson_*_t types.  Providing a shim for stdint instead

some more win32 compat where needed