campaigns: move validation code to campaignutils
Created by: LawnGnome
This turned out to be a nicer cleanup than I expected: the parse and validate helper functions in cmd/src
were separate for mostly historical reasons, but now we can unify them.
Fixes sourcegraph/sourcegraph#14249.