Refactor: all: use constants for possible "requires" values
Following the new convention, the constants are used anywhere the string is
used as an enumerated value (i.e. they are not option-specific, and only used
as magic strings, not as regular words in log messages and such).