Configuration API v1: SP support

Adding the first version of the configuration API to get SP configuration to the Gateway
It'd be nice to know what should happen if validation fails: `@throws Assert\InvalidArgumentException`.