Commit fixes:
* Synchronize access to self.offsets and self.partitions_to_commit
* Clear self.partitions_to_commit after a commit
* Start commit timer after initializing zookeeper and offsets.