Fixes #14
Update README.md
New API for checking pending message count
New API for getting a specified set of messages

This will be easier to use in some cases where we have to get
only a specified set of messages. This API uses the __iter__
API internally, but maintains the state to give back only the
required set of messages

API is - get_messages(count=1)
Missed a doc string
Auto commit timer is not periodic

The auto commit timer is one-shot. After the first commit, it does
not fire again. This ticket fixes the issue.

Also, in util.ReentrantTimer(), some duplicate code was cleaned up
Merge pull request #23 from mahendra/autocommit

Auto commit timer is not periodic
Adding a debug statement
Closes #22

Removed get_messages API, added test for get_pending
Merge branch 'issue-22'

Conflicts:
	kafka/consumer.py
Minor bug fixes

* When you initiate a producer with a non-existant queue, the queue is
  created. However this partition info is not reflected in KafkaClient()
  immediately. So, we wait for a second and try loading it again.

  Without this fix, if we do producer.send_messages() after creating a new
  queue, the library will throw a StopIteration exception.

* In SimpleConsumer(), the defaults are not as mentioned in the comments.
  Fix this (or do we change the documentation?)

* There was a problem with the way the consumer iterator worked.
  for eg: assume that there were 10 messages in the queue/topic
  and you iterate over it as -

  for msg in consumer:
       print (msg)

  At the end of this, 'offset' that is saved is 10.
  So, if you run the above loop again, the last message (10) is repeated.

  This can be fixed by adjusting the offset counter before fetching
  the message

* Avoid some code repeat in consumer.commit()

* Fix a bug in send_offset_commit_request() invocation in consumer.py

* Fix missing imports
Removing the bit about offsets
PEP8-ify most of the files

consumer.py and conn.py will be done later after pending merges
Adding authors file
Updating authors with links to github profiles
Fix auto-commit issues with multi-threading
Finish making remaining files pep8 ready
Refactor and update integration tests
Adhere to common python naming conventions
Beautify codec.py