replace ShipType with ShipDef, just plain old data tables
make the whole ShipDef construction read-only
reimplement (deprecated) GetShipType and GetShipTypes in Lua