Add gerritx project infrastructure.

Add all of the support files needed for this to be a project.
Also, fix pep8 and pyflakes errors.
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..0f59a0f
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,24 @@
+[tox]
+envlist = py26,py27,pep8
+
+[testenv]
+setenv = VIRTUAL_ENV={envdir}
+deps = -r{toxinidir}/tools/pip-requires
+       -r{toxinidir}/tools/test-requires
+commands = nosetests {posargs}
+
+[testenv:pep8]
+deps = pep8==1.3.3
+commands =
+  pep8 --exclude=.venv,.tox,dist,doc,openstack,*lib/python*,*egg \
+       --repeat --show-source .
+
+[testenv:cover]
+setenv = NOSE_WITH_COVERAGE=1
+
+[testenv:pyflakes]
+deps = pyflakes
+commands = pyflakes gerritx/cmd
+
+[testenv:venv]
+commands = {posargs}