Add ReadOnly function that returns Option that enables read-only mode in DB. RO mode can be used by processes that won't modify the DB in order to not acquire write flock. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>