bugfix for replication
update slaveof command, wait (n + 1) /2 replies
bugfix for wait replication
add replication doc