Fixes bug where TDPuller notified listeners of a stopped
replication before updating its changesProcessed property.

Modifies test in ReplicationAcceptance which verifies this
now works.
Merge pull request #65 from cloudant/32613-CDTReplicator-changesProcessed-is-not-updated-accurately-after-pull-replication

32613 - inaccurate CDTReplicator changesProcessed after pull replication