codeintel: Add index config types
Created by: efritz
Closes https://github.com/sourcegraph/sourcegraph/issues/13892.
This adds a set of shared types that will be able to configure index jobs. This also has a jsonx and yaml-compatible set of unmarshallers so we'll be able to read from both config stores and files in-repo.