Python code style fixes for trigger new-style config modules
Fix python warnings generated by flake8
for all new-style "ComponentAccumulator" config modules in the trigger domain:
- unused variables/imports
- wrong use of logging calls
- use of deprecated Py2 features