added dummy event handlers to OCHP
updated transaction, transactionrepository and added some tests
fixed foreign key exceptions