Fixed an issue with containers and inventories

Added a check for AddItemToInventory and AddItemToContainer that ensures
the same item can't be added twice.

Also filled Container with debug prints.

Removed an accidental strlib dependency call from InventoryKeys.