Fixes a problem with unclosed streams

The streams don't get closed during processing and so stay open and thus cause the test ReplicationTest/testPushReplicationCanMissDocs to fail on Windows but more general mean that anytime, anyone ever uses multi-part (which is used, for example, by the pusher) then the streams will be locked forever and attachment cleanup isn't possible.
Fixing my stupid bug

Thanks for finding it!
Android compliant logging

http://developer.android.com/reference/android/util/Log.html specifies that any TAG will be logged automatically at INFO or higher level. You only need to explicitly specify a tag name if you want it to print out at a lower level.
Improving logging on retry failures

I am running requests over TOR hidden services that can fail for very long times. So I need to track when we have a failure that causes a remote request to be given up on. Is there anywhere else a logging even or notification would occur if the replication couldn't get a connection established?
Merge pull request #235 from yaronyg/patch-4

Improving logging on retry failures
Merge pull request #230 from yaronyg/patch-3

Android compliant logging
Merge pull request #229 from yaronyg/patch-2

Fixes a problem with unclosed streams
Fix compile error.
Improve logging
Fixes issue #328

Fixes reproducible error, where can not add attachment after a property has been updated.
Merge pull request #238 from couchbase/feature/couchbase-lite-android-issue_328

Fixes issue #328
Fixes issue #219

When deleting a view, remove it from the view cache if it is stored there.
Fixed issue with deleteView and getExistingView logic
fixes issue #219

reinstated test for view in DB if it is not in the view cache in getExistingView
Add more verbose logging
Issue #241

https://github.com/couchbase/couchbase-lite-java-core/issues/241
Merge pull request #245 from couchbase/feature/issue_241_rebased

Issue #241
Issue #247 - increase setSoTimeout to 5 minutes to allow larger attachments to upload successfully.

https://github.com/couchbase/couchbase-lite-java-core/issues/247#issuecomment-47675955
Issue #247 use FileBody rather than mis-using InputStreamBody, cleans up errors.

https://github.com/couchbase/couchbase-lite-java-core/issues/247#issuecomment-47792279
Fixes #376

https://github.com/couchbase/couchbase-lite-android/issues/376