Add tox and flake8 support

This is the first of many commits to help make the code more PEP8
compliant.  This patch just enables the tools, but no actuall code
changes yet.

Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>