allow clients to set a fresh txn for a cursor
allow cursors to close without a live txn
use autotxn to open db if given a read-only txn