Configuration API v1: SP support

Adding the first version of the configuration API to get SP configuration to the Gateway
Anything unexpected (programmer error those kind of things :wink), that is kinda the idea behind exceptions? 
It could be done in an exception listener if it was application-wide. This is specific for this API, if there are more usecases that should be done separately, not within the scope of this ticket.