Accepted proposal: range over all command-line flags

The flag package is getting a range-friendly iterator and a direct way to tell whether a flag was set successfully.