[ARIES-1160] Updating JPA container to correctly deal with Bundle.RESOLVED events when creating a factory, patch from Christian Schneider applied

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