Updated item rarity distributions & testing app

Cleaned up code for item rarity distribution functions & basically
re-factored the item stats.  Added ability to select specific types and
class indices for generated items.