Merge pull request #31 from adrian-rosello/master

Avoid duplication of code in BindingManagement.
Define ApplicationInstance lifecycle
Implement dependency management logic.

DependencyManagement is responsible for the management of all dependencies and dependency injection in the system.
Replace onDependenciesResolved by activate and deactivate in IApplication.
Uninitialized ApplicationInstance issue fixed
Keep resource reference in CapabilityInstance
ApplicationInstanceLifeCycleState transitions notify DependencyManagement.
Merge pull request #32 from shummi/fix/initialization_issue

Fix/initialization issue
Avoid bad initialization of application instances.
Merge pull request #33 from logoff/core/resource_adapter

Avoid bad initialization of application instances.
Support for adding custom JAX-RS providers.
Add Collection of Endpoint's.
Add @AddsResource in method to trigger observation.
Inject resource in ClientProvider.
Use proper reference to IResource.
Rename Resource to RootResource and update references.
Merge pull request #34 from adrian-rosello/feature/cxf-provider

Support for adding custom JAX-RS providers.
Define test cases for dependency management.

Each package contains applications composing a test case.
A README.txt file explains the test case.
Add thread safety to some collections.
Merge pull request #36 from logoff/core/bm_threadsafe

Add thread safety to BindingManagement collections