pep8, remove unused imports
utf-8 headers
prefer single quotes
More codeanalysis checks in pre-commit-hook

Run more checks with bin/code-analysis that is run in a
pre-commit-hook:

* utf8-header
* prefer-single-quotes
* imports
* debug-statements
* deprecated-aliases
* zptlint