HPCC-8735 - Avoid seperate call to fetch total # workunits

ws_workunits, called numWorkUnitsFiltered and getWorkUnitsSorted
when requesting workunits. The latter was able to calculate the
total with minor modification and avoid the need for a seperate
pass with numWorkUnitsFiltered

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8482 Delay reporting errors in field mappings until actually used

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Add results of postfilter to cache.

Avoid re-performing postfilter when reusing cached result.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8482 Remove unreachable code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Cache and reuse postfilter

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8627 Add new ESP HTPASSWD style MD5 authentication

Add new roadmap item "htpasswd" authentication method that does
not involve the complexities of LDAP. It was decided to authenticate
against an HTPASSWD generated password file, located through a config
setting.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Merge pull request #4013 from RussWhitehead/htPasswd

HPCC-8627 Add new ESP HTPASSWD style MD5 authentication

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4034 from ghalliday/issue8482

HPCC-8482 Delay reporting errors in field mappings until actually used

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3979 from jakesmith/hpcc-8735

HPCC-8735 - Avoid seperate call to fetch total # workunits

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8729 - Improve workunit iterator efficiency

Delay creating workunit objects until needed
Also remove some odd unused workunit @scope authentication

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #4047 from jakesmith/hpcc-8729

HPCC-8729 - Improve workunit iterator efficiency

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8898 #EXPORT not handling decimal types correctly

The code for outputting basic type when exporting records to XML is weird.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4043 from richardkchapman/export-decimal

HPCC-8898 #EXPORT not handling decimal types correctly

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>