find_package: Keep dependency provider as member

Move `cmState::[Builtin]Command` types to their own header so they can
be used without the overhead of all of `cmState` (also moving them to
the `cm` namespace). Modify `cmFindPackageCommand` to keep the
dependency provider command as a member so we can look it up earlier and
keep it around. ("Why" will become obvious in the next commit.)
5 files changed