Change inventory from dict(dict) to simple dict

The inventory was a dict of commodities that each pointed to another
dict with the current amount and the minimum amount. This was
unnecessarily complicated and is refactored to a simple dict. The
minimum amounts were already moved to a seperate dict anyway.
Merge branch 'refactor-inventory'