Refactor the inventory save and read functions to the TileUtil class. DIE DUPLICATION
Fix capacitor not saving to nbt. Fixes #151