bson: check for stdint.h in configure.

If it is not found, generate some compatability types.
bson: allow visitors to stop visitation of fields with return TRUE.