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.