JSCBC-145: Correct issue with inclusive_end on view queries.

Change-Id: Icb65a738230f9ed34a01739699481f79c15980f0
Reviewed-on: http://review.couchbase.org/41185
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>