fix issues with the test Document db boolean issue and extend it to all  covered cases
fix issues with the test Document db boolean issue and extend it to all  covered cases

ghickman/couchdbkit,ghickman/couchdbkit,benoitc/couchdbkit,benoitc/couchdbkit,benoitc/couchdbkit,ghickman/couchdbkit