Added pylint -m option and fixed all pylint errors found in leo/modes/*.py.