Renamed extract_optarg_map to global_optargs, added profile_bool_optarg helper.
Made no env_t constructor take a protob_t<Query>.
Improved some comments.
Removed an always-null directory_read_manager parameter.