Complete issue#150 - Port BlobSroteWriter bug fix

- Port fix for issue couchbase-lite-java-core#96 — BlobStoreWriter bug fix
- Add BlobStoreWriterTest.TestBlobStoreWriterForBody()
- Add Assertions to check replication’s LastError in several places