Attempt to restore 2.1 compatibility by using old Trigger interface (deprecated)
Test for new Transaction class to determine if the transaction object has the correct OriginId() method.
Merge pull request #37 from dizzzz/develop

Attempt to restore 2.1 compatibility