Persistent replications (CBL_ReplicatorManager) should run on background thread

Cleaned up the creation of background CBLManagers.
Fixes #147