Finally compiles again...

(Doesn't work yet in all sorts of ways, of course)
Game now loads again

Station and player commodities preserved over load/save properly

System market actually used for the main station now
A few more adjustments - cargo contracts now (mostly?) work again

New JS method
systemInfo.samplePrice(commodity)
 - get a sample price for a trade good in an arbitrary system
Saves changing oolite-contracts-cargo for every change in the algorithm