CBQE-1180: endkey_docid not read from query builder

Change-Id: I03d74c87f24a03e77e7d32770ce6e1d1088d1fcd
Reviewed-on: http://review.couchbase.org/25402
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>