Make kafkaloghandler standalone, add unit tests

Change-Id: I36e8c5cc33459e8243d3aaac3fefc2928b663d36
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2780493
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*.pyc
+dist
+*.egg-info
+MANIFEST
+.coverage
+coverage.xml
+.git*