Add repl-sync-eval-as-multi option

Sometimes it is better to replicate command executed by script intead of script itself.
Setting repl-sync-eval-as-multi to "yes" will replace all script commands with
multi/exec block containing all write commands executed by script.