[WIP] Add provisioning_api app

Issue to track the addition of the provisioning_api to the core.

Fixes self.

Todo:
 - [ ] Check unit tests
 - [ ] Check merge situations (with existing core routes)
This extends the existing method in core. Created new issue to track the cleanup of this: https://github.com/owncloud/core/issues/13002