Spike for a new API for declaring endpoints

this `init_app` is something we've made for citizen desk where they want to reuse domain schema and probably some other parts but not using superdesk with its datalayers.
@danse any input on this PR?