DatabaseConnection::popTransaction

If we pop off the last transaction layer, then we either commit or roll
back the transaction as necessary. If no transaction is active, we return
because the transaction may have manually been rolled back.