Fixed an improper loop index in RequiredBundle.getRequiringBundles() and also made the method a little more efficient. (FELIX-1920)