Add REST API that allows access to configuration
Extend the configuration REST API

This includes adding endpoints for layers, caches and sources.