Adding the new API: application entity, permissions, basic routes, ...

* adding new entity API::Application
* permissions thereof
* creating api in the admin interface
* new API Controller
* API Authentication
* API Authorization
* initial resources for media_resources; perviews and media_files