Implements backend for Kelsey's trading agreements.

- TradeFactory to create Trade instances.
- TradeManager that handles trade proposals and updating all active trades.
- Implements test cases for trade agreements.
Merge pull request #25 from CSc436/trading

Implements backend for Kelsey's trading agreements.