write-impl function was re-implemented

[success copies num] is now supported to provide a behavior to recording
it can be set by special value from file of configurations:
-1 [any] - a successful recording is enough
-2 [quorum] - requires [replication-count div 2 plus 1] successful records
-3 [all] - exactly replication-count successful records are needed