use pyflakes not pyflakes3 for pip-installed systems and force pyflakes to run with python3 on apt-installed systems

Signed-off-by: Michael McCracken <mike.mccracken@canonical.com>