Add planet_id to planet structure in prep for using SQL identifiers rather than file locations
Use generic putsector instead of custom putter.  Split out transactions into start_bulk_insert and end_bulk_insert.  Commit the sectors to the database - still unused