added exclusiveEnd option to CouchQuery