[#65625634] Add config validator

Adding the config validator to core. No change. There will be corresponding PRs on vcloud-tools and vcloud-edge_gateway (both have their own config validator, left over from when vcloud-edge_gateway was in vcloud-tools).

This PR is the first step in moving the config loader to core: https://www.pivotaltracker.com/story/show/65625634