Added lootgen class for later. Fixed up inventory more, added some
tests. Inventory toSet method now weeds out null correctly. Can use this
for inventory checking later. All unit gear should run from a single
inventory object.