(#1936) implement/document inclusive_end

Combined with (pouchdb/mapreduce#133) fixes #1936