DB_driver's trans_complete exception fix

When not in a transaction, any calls of trans_complete (DB_driver.php, L628) causes exception with message "There is no active transaction" (tested in PDO). So, debugging information passed to consecutive call of display_error has been lost.

It would be useful to test before closing the transaction by
$this->_trans_depth > 0 && $this->trans_complete();