Support Range headers, total property in results, document useRangeHeaders, rangeParam, and add tests