Pylint 1.0 compatibility

It's not perfect but though some of the work might be useful.