Wait for batcher pending futures a second time

I noticed this while looking into issue_299 (retry behavior).
renamed org.apache.http package to com.couchbase.org.apache.http
Merge remote-tracking branch 'upstream/master' into feature/issue_81
Merge branch 'feature/pegli_issue_81'
RemoteRequestRetry used for all types of requests now

Replication tests passing

Noticed this while looking into https://github.com/couchbase/couchbase-lite-android/issues/445