python: teach cbson.dumps() about bool.
bson: enforce 0 or 1 when encoding a boolean field.