Moved upgrade handling to chest

This moves the upgrade handling to the Alchemical Chests. Also optimized the upgrading for the Alchemical Chests a bit.