Complete issue #121

- Port fix for issue couchbase-lite-android#301
- Port DocumentTest.TestPutDeletedDocument()