32783 - report error when local database is deleted during replication

This modifies TDReplicator to report an error when a local database is deleted during replication,
captures that error in CDTReplicator error and reports to it to the delegates. 

This also adds tests to the ReplicationAcceptance project. 

Each commit message specifies the changes in more detail.