Feature/portable java issue 25

fixes issue couchbase/couchbase-lite-java/issues/25

By throttling back Batch processing of the input queue when there are a large number of documents (1000+)