Replication fixes

A sliceoff from https://github.com/apache/couchdb-fauxton/pull/50
What happens if we pass in an `undefined` value here? If the user isn't an admin this.tasks will be undefined, will the `ReplicationForm` still work?