refactor group selection tracking
refactor group selection tracking

only one thing determines `selectedGroups`: the URL. use the actual
pipeline for the 'defaulting to first group' behavior.

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse