Pipe wires persistence between runs

At this point, wires lose their state upon Minecraft restart. Would be logical to make them store states via NBT and then restore on load.
PROS: Allows memory circuits, at example RS latch
EXAMPLE: TE's redstone energy cell and a pack of engines controlled by a gate. Possible now, except such circuit will beak on restart. Actually, it's the case why I did this change.