Improve error message for SliceContains

Also, use the types we defined in SliceContains for the params
Improve test description for target test
Add a helper to configReader for apiendpoint + version
CLI should prompt a user to set an API if not set

[Finishes #66169902]
cf target should show a helpful message when the api is not set

[Finishes #66821298]