initial tests and infra for testing
rename config -> CONFIG; makes pylint happier
rename f -> func; make pylint happier
finish dealing with pylint
improve config loading error reporting & squelch last W0702