Feature/capabilities are apps

* ICapabilities are IApplications that are bound to an IResource.
* Services are managed by IApplications.
* IApplications can manage IResources.