CFFI fix for replace() issue #51

replace() all duplicates with the new single value, and return the first
old duplicate.
CPython fix for replace() issue #51

replace() all duplicates with the new single value, and return the first
old duplicate.

Additionally merge trans_replace() with cursor_replace().
Basic txn_test ReplaceTest.
Update ChangeLog.