Check inventory stacks for slots with a quantity of 0 during save/load

This fixes a stack of 0 gold being added to the player's inventoty in
flare-game.
Merge pull request #704 from dorkster/bugfixes

Check inventory stacks for slots with a quantity of 0 during save/load