some pylint and pep8 fixes

* now all files in keywordsearch package get >=9 in pylint
* still to remove TODOs, and (some disabled msgs?)
* still some code may be cleaned up further