Add a pylint configuration file and fix a few of the issues found
This allows to easily find code quality issues in the codebase.
In the future it should be made to run in the CI, and to reject any merge request which decreases the score compared to the branching point.