Fix #257 - Allow KafkaConnection to work correctly with gevent.

KafkaConnection inherits from threading.local, which is patched by
gevent to ensure one connection per greenlet, instead of one per
thread. If threading.local patching is detected, the base class
will be changed to object.