Added a parse function to both TradableItem and TradeDeal both of which should be able to parse its own toString method if that is all it is given
More work on the negotiation, it is not yet tested, but everything should be sort of ready except handleRefuse and what to do when the other trader proposes a deal we want to consider
Added support for requests for either the whole inventory or just one
item. Also added a couple of comments.
Changed the way request inform messages are handled, Have_item must contain the item which was asked for. Added the otherInventories as a map to a set, since the agent isn't necessarily going to care about how many items the other agent have of each, this simplifies adding and removal in handleInform