Add `replication` index parameter

Replication mode is set to node default value. You can change it by forcing `replication` to `async` or `sync`.

Closes #36.
(cherry picked from commit 1e108e0)