Fixes #303

https://github.com/couchbase/couchbase-lite-android/issues/303#issuecomment-42908814
Fixes #304 testLiveQueryStop sporadic failure

https://github.com/couchbase/couchbase-lite-android/issues/304
Fixes #305 testContinuousReplicationErrorNotification test fail on Jenkins

Worked around by adding null checks.

https://github.com/couchbase/couchbase-lite-android/issues/305
Issue #305 fix format string issue

https://github.com/couchbase/couchbase-lite-android/issues/305
fixes issue couchbase/couchbase-lite-java/issues/25

By throttling Batcher processing of large input queues
build.gradle compile with couchbase-lite prefix
issue couchbase/couchbase-lite-java/issues/25

Added some explanatory comments around the calculation of the scheduler delay to use when submitting a batch job
Issue #25 add verbose logging

http://github.com/couchbase/couchbase-lite-java/issues/25
Merge branch 'refs/heads/feature/portable_java_issue_25' into release/1.0.0
Remove replicationTestsEnabled
Merge branch 'refs/heads/release/1.0.0'

Conflicts:
	src/main/java/com/couchbase/lite/replicator/Replication.java
Add docs to DocumentUpdater delegate
Issue #214 - fix by aligning code to iOS

Remove extraneous lastDocID check.

https://github.com/couchbase/couchbase-lite-java-core/issues/214#issuecomment-44208673
Call validateRevision from forceInsert.

Added the logic to call validateRevision in the forceInsert to check that the
current revision abides by the validation (if any). The logic is copied as
it exists in the iOS version.

Issue Reference: https://github.com/couchbase/couchbase-lite-java-core/issues/206
Set the historycounter to start from 1

Since the revisionHistory is passed in descending order, we want the last
successful revision to be set as the "oldRev" property in ValidationContext.
Fix this by starting the counter index from 1 instead of 0
Minor code reformat
Issue #206 - remove unneeded call rev.copyWithDocID

Also add some TODO's in the code to get it more in line w/ iOS version.

https://github.com/couchbase/couchbase-lite-java-core/issues/206
fixes issue couchbase/couchbase-lite-android/issues/214

By setting the size of the underlying data on InputStreamBody at construction time, and returning the value in getContentLength(), this allows apache HTTPClient to send attachments to the server unchunked. Sync Gateway can handle chunked data but the current release of CouchDB (1.5.1 tested) can not.
Merge pull request #217 from couchbase/feature/couchbase-lite-android-issue_214

fixes issue couchbase/couchbase-lite-android/issues/214
couchbase/couchbase-lite-android/issues/301

Ported _deleted logic from iOS so that a doc with _deleted property and other user properties gets written