Remove pylint config.
Add 'flakes' target invoking pyflakes, and fix some pyflakes warnings.