Test https://issues.apache.org/jira/browse/LOG4J2-739 but not as a unit test.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1612992 13f79535-47bb-0310-9956-ffa450edef68
Use list of required bundle wires first in Activator to find log4j providers specifying the capability first.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1612996 13f79535-47bb-0310-9956-ffa450edef68