Allow assigning a modId to a custom itemstack

Currently you can assign a custom modId to Blocks and Items but not to custom ItemStacks.
These changes are to allow you to do just that.