Added "type" member to InvestmentTransaction

Fixes issue #48.