Issue to be solved
Currently, it seems like the only way to query for emitted events is to use the blockchain.eventsOfType() function, but this returns all the events of a specific type that were emitted. It would be really nice if we could just get the events emitted by a certain transaction so they don't get mixed up with other events from previous transactions.
Suggested Solution
Update TransactionResult to include a new events field that contains the events that were emitted by the transaction