Make HttpHandler::GetEntries non-blocking.

This operation goes to disk with both our Database implementations, so do it
on the thread pool, rather than synchronously.