Biogencode + small bugfix

1.This changes the Biogenerator code a tiny bit, and makes it a little easier to add new things to it. THis also fixes the bug where you would only get 3 instead of 5 nutrient bottles when using the x5 feature.

2.The other part fixes the problem where Juggernauts and other simple animals which could destroy stuff were unable to smash through simple metal foam walls.
Fixes #4070 
Could you put this in it's own proc?
Also, beaker is already typecast, you don't need to typecast again.