fixes #851 Create a transaction after acquiring the lock so replication
step-down doesn't abort a transaction object still on the stack.
Merge branch 'bugfixes/tokumx-1.3' into releases/tokumx-1.3