getSpaceInSlotForItem() now checks if the inventory slot is empty, or if the stacks match. this way, IDynamicInventory.getSlotCapacityForItem() doesn't have to check that.
Merge remote-tracking branch 'origin/master'