[#571] Added support for replication=async option when storing document

Closes #571