Add OC_DB::rollback method

Add a missing method to rollback database changes in a transaction.