Merge pull request #7 from apache/cloudant-ioq

Import Cloudant's full IOQ code