always close response stream in ChangeTracker

In the ChangeTracker's run method, the response stream is sometimes left
unclosed.

When ChangeTrackerMode is LongPoll, the stream is closed after it has
been read with ObjectMapper.readValue(). But, in the OneShot case, the
stream is never closed, since the JsonParser never reaches the end of
the stream.

It might be possible for the LongPoll case to leak too if an error is
thrown, but I'm not sure. To be safe, I've wrapped both cases in a
try/finally block that ensures the response entity is always closed.
Update javadocs to match API spec.  (issue #180)

https://github.com/couchbase/couchbase-lite-android/issues/180
add failing test demonstrating incorrect conflict replication

Replicates couchbase/couchbase-lite-android#174. Conflicting leaf
revisions aren't being sent in push replications.
include all leaf revisions in push replications

Fixes couchbase/couchbase-lite-android#174.
Merge branch 'refs/heads/stable'
Merge branch 'refs/heads/push_leafs'
Rework testAllLeafRevisionsArePushed() so that it has no external sync gw dependencies.

https://github.com/couchbase/couchbase-lite-android/issues/174
Merge pull request #30 from mjq/http_leak

Always close response stream in ChangeTracker
Port iOS fix over, which allows one assertion to be uncommented.  Still waiting on further fixes (or clarification) on the iOS ticket.

https://github.com/couchbase/couchbase-lite-android-core/pull/27
Fix for issue #10 CBLURLConnection.java/getOutputStream() has potentially dangerous behavior

https://github.com/couchbase/couchbase-lite-android-core/issues/10
Point repository in build.gradle at mavenCentral() issue #32

https://github.com/couchbase/couchbase-lite-android-core/issues/32
Upgrade to Android Studio 0.4.3.  Use SDK version 19.
Add comments to build.gradle regarding archive uploading.
Uncomment test which exposes existing bug regarding forceInsert conflict status.

https://github.com/couchbase/couchbase-lite-android-core/pull/27
Port iOS code over which fixes test failure uncommented in previous commit.

https://github.com/couchbase/couchbase-lite-android-core/pull/27
Remove unnecessary import
don't abort build on lint errors
Resolution of issue 37

https://github.com/couchbase/couchbase-lite-android-core/issues/37
Fixed typo wraper -> wrapper
Merge pull request #63 from yaronyg/issue37

Resolution of issue 37