sophia: log_expand: translate multi-stmt to single-stmt mode

By default all transaction statements are commited
under a single LSN.

This mode allows to commit a multi-statement transaction
and assign unique LSN to every statement.

Such behaviour make easier to integrate into systems
with own WAL support. Systems which don't support own
multi-statement transactions but can do any form of
atomic write.

Works only with sophia journal disabled.