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/.gitignore b/.gitignore
new file mode 100644
index 0000000..e102935
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+.tox
+build/*
+*.pyc
+gerritx/versioninfo
+AUTHORS
+ChangeLog
+dist/*
+*.egg-info