[CXF-4988] Making sure providers can get Application injected via field or setters and Application itself can get the contexrs injected, same as for the root resource

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1478342 13f79535-47bb-0310-9956-ffa450edef68