BUGZ-3753 - Further fixes requested by WLCG.
Port of svn 33621 - FixesLink to Bugzilla ticket
Description
Jobs in HOLD should not be counted at all except some used for datastaging.
- Excludes HOLD jobs by putting them in the INLRMS:E (Exiting state)
- Puts jobs in HOLD with HoldReasonCode == 16 in INLRMS:O The complete rollout of this patch requires that these jobs will be somewhat identified as staging which is not possible in any of the current job state models. For the moment they will be counted as Running.