Fixes in python binding and recovery

Python: fixed bulk_write.
Recovery: fixed dnet_iterator_response comparing in sorting and matching objects in recovery.