Pylint: fix different messages in pre-1.0/1.0

Pylint requires some messages disabled in 1.0+, but crashes if
these are given to pre 1.0. Use a dirty shell wrapper to fix :(.
fix some pylint warnings