FELIX-2144: API changes:
- remove Resolver#getGlobalRequirements and Resolver#addGlobalRequirement(Requirement)
- add RepositoryAdmin#repository(Resource[]) to create an in memory repository
- remove Capability#getResource()
- remove Requirement#getResource()
- remove Resource#getRepository()
- move Repository#isLocal() to Resource#isLocal()
- new interface Reason (pair of Requirement / Resource)
- change Resolver to use Reason[] for resource selection explanation and unsatisfied requirements

Additional minor changes:
- discoverResources(String) nows throws an InvalidSyntaxException
- remove RepositoryAdmin#deploy(boolean) deprecated to #deploy(int)
- improve resolver by using List instead of arrays for holding reasons / unsatisfied reqs
- add missing ASF headers

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@917934 13f79535-47bb-0310-9956-ffa450edef68
29 files changed