Fix attachments missing from DocumentRevision

Retrieving a document via getAllDocuments returns document with their
attachments missing.
Fix document retrieval for getAllDocuments and getAllDocumentsWithIds
Add tests for attachments on objects retrieved from getAllDocuments and
getAllDocumentsWithIds
Merge pull request #50 from cloudant/33603_fix_missing_attachments

Fix attachments missing from DocumentRevision
Changes the CDTReplicator.state property to be equal to CDTReplicatorStatusStopped
if the replication was stopped via a call to CDTReplicator -stop. Otherwise, if
the replication stops on its own because it completes, the status is set to
CDTReplicatorStatusComplete.

Changes the CDTReplicator code to clarify the object's state,
progress (changesTotal and changesProcessed), and messages sent to delegates
during start, stop and updates to the replicator.

Adds tests in ReplicationAcceptance using a delegate to stop replication
immediately after starting.
Addresses comments in the PR.

This commit will be squashed before merging.