First part of making write-coalescing configurable

Follow up of PR  https://github.com/hazelcast/hazelcast/pull/3002