CBLManager needs to forget replications involving deleted database

When a database is deleted, CBLManager now removes all replications
involving it from its _replications array. Otherwise those replications
could be re-used if a new database with the same name is created; this
results in conflicts if the replications are persistent, since their
documents have already been deleted.
Fixes #180