Fix issues in factories where schematic changes would not push stored products out until the next cycle.
Add stored products table to edit_factory_widget.
Fix failing tests.