Fix Pylint violations

This fixes almost all violations but C0103 ('Invalid name ...') and C0111 ('Missing docstring ...'), which require or are related to pending refactorings anyway, thus will be ignored for the time being (skimming the resulting Pylint report for new issues is fairly easy now at least).