HPCC-11958 Add Roxie State check to preflight

This fix uses the same logic as in ecl-roxie to retrieve
and format information about roxie state. The information
is displayed inside ECLwatch preflight page. WsMachine
thread pool is used to improve the performance of
retrieving the information.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
The same source file shouldn't really be included in multiple dlls, unless there is good reason.  Shouldn't the functions be exported instead.  (@afishbeck)