Update pylint to warn about unused imports, and clean up unused imports.