Do some cleanup and typing in RBTools config/options code.
Review Request #14218 — Created Oct. 30, 2024 and submitted — Latest diff uploaded
This change does some cleanup, typing, and general modernization in
preparation for allowing config namespacing.
Ran unit tests.