run pyflakes against all python code
fix pyflakes warnings for otrapps/*.py

This enables pyflakes checks on otrapps/*.py but not yet keysync and
keysync-gui because those have warnings which are hard to fix.
Unfortunately, pyflakes does not have a way to ignore issues.