Fixed getSum() in Transaction class.

Added List of BarInventoryItems to Transaction.

Changed TransactionRepositoryTest to support new Transaction constructor.