Add missing requirement: web.py
add flake8 checks to teuthology

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit 27c9eb8f81dc25c7b50bfb77d4d2d4ab4d136fb6)
Make teuthology.locker a module
Fix undefined name error
Remove unused imports
Remove unused variables
Don't redefine variable
nuke: refix import os

Why does this work and the top-level import does not?

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 638b99e1d23addbbc9717cd4180a57218e5e186e)
Add '# noqa' to suppress a linter error

Fixing this would require some more significant changes... and tempt me
with rewriting every module in the directory.
Should only need one 'import os'