Update index-query.md
Modifies replication documentation to state that CDTReplicator
objects must be retained in order for call delegate callback
methods.
CDTReplicator stops its TDReplicator when it is deallocated.

Previously, the TDReplicator would continue working when the
CDTReplicator deallocated, which was inconsistent with the
expected behavior and would result in the CDTReplicator delegate
being uninformed of the state of replication.

The fire-and-forget is not yet fully in place, as now correctly
stated in the documentation.  This change ensures expected behavior -
replication stops when CDTReplicator is deallocated.

The developer must hold onto a strong reference to its CDTReplicator
in order for replication to continue.

Additionally, the internal TDReplicator.running BOOL is now set
immedately when TDReplicator -start is called and not after the
internal thread begins execution of the replication code. This
clarifies the state of the TDReplicator.
Merge pull request #98 from cloudant/42383-temporary-update-CDTDatastore-documentation-and-TDReplicator-stop-regarding-fire-and-forget-replication

42383 temporary update cdt datastore documentation and td replicator stop regarding fire and forget replication
Correct case of "CDTLogging.h" import in CloudantTests.m

Correct case of "CDTLogging.h" import in CloudantTests.m so it compiles
on case senstive file systems
Set up logging in tests once
Bump Cocoalumberjack to version 2.0.0-rc
Remove dispatch once block and make logs sync for tests

- Remove dispatch_once block
- Add macros to define the Async mode for logging be default
  logging for DEBUG builds is synchronous, RELEASE is async,
  apart from logging error with is ALWAYS synchronous