Closes #1364. Step 1 of #1366.
Created a file components/inventory/helpers.js containing a function isItemStackable(item) returning whether an item can be stacked or not. The uniformization of the stacking checks fixes #1364.
components/inventory/helpers.js
isItemStackable(item)