added in clear transaction out method to clear tables

added in method to clear transactionOutErrors, transactionTranslatedOut, transactionOutRecords or targetId before a targetId is process

add unique indexes as each transactionTarget, transactionTranslatedOut, transactionOutRecords should be 1 to 1 ration