handle proxy tables and primitive types sanely
don't include non-string keys
add min_crew and max_crew attributes to shipdef and expose to lua via ShipType
Merge remote-tracking branch 'robn/lua-console-type-fixes'