Update txn.go

add MDB_CURRENT to put flags
fix thread locking for nested transaction

Conflicts:
	txn.go