bson: define BSON_MAX_SIZE in bson.h
tests: add bson overflow test for crossing signed integer boundry.