workflows: fix copyright and PEP8

* Fixes wrong copyright years throughout the module.

* Fixes some PEP8 issues and cleans code in some places.

* Fixes a subclassing problem in log handler.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>