Switch from args/argn to argv
Remove unused planet argument from do_dome
Remove unused parameter to do_reset
Use argv instead of args
Convert colonies and production to new-style calls.  Replace mode variable with an enum.  Remove unreachable cases.