Replication fixes

A sliceoff from https://github.com/apache/couchdb-fauxton/pull/50
Suddenly, it works. Don't ask me how, but replication starts and running. You just don't see the active tasks and any progress by oblivious reasons.