quicklist.c/quicklistDelRange: fix a little bug & add tests

We should limit extent within the rest of list.
And the 2nd if branch `else if (entry.offset >= 0 && extent > node->count)`
should add '=' to match all the cases. :)