Add index for star_id, planet_order lookup
get4args is only called by functions in one file, make it a static utility function
do_revoke is a utility function, pull it into shlmisc.cc and mark it static.  Remove unused list function