Fix bash-completion for config-dependent IDs in arcctl
Since defaults/runtimeconfig rework, bash-completion mode of arcctl
lacks this proper defaults integration, failing to obtain the config-dependent IDs (like jobIDs or RTE names).
Now same parsing code moved to ControlCommon
and used by both competion and execution modes.