Early abort for forEach, peek multiple

Adds the capability to peek at multiple entries at the head of the
queue. I didn't have to change QueueFile, as its forEach already can
avoid reading bytes, but this optimization to abort early saves some
object creation.

While this is a breaking API change (QueueFile.ElementReader.read now
returns a boolean), I did not alter the ObjectQueue interface, which is
more likely to be implemented.
I suppose that makes decent sense, so that callers don't expect list changes to be reflected in the queue.