HPCC-11063 Refactor doWUQueryFromArchive() of WsWorkunits

Refactor the doWUQueryFromArchive() for better encapsulated. The
default page size is increased to 500.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com