AthenaConfiguration: cleanup/refactor MainServicesConfig
Split the sequence building into its own function to make it re-usable (by the HLT). Also apply some general cleanups to the file. No functional changes.
Split the sequence building into its own function to make it re-usable (by the HLT). Also apply some general cleanups to the file. No functional changes.