FIX for ManyToOne targetType & OSGI MANIFEST

Fixed the ManyToOne targetType bug and included a test
Why is this here?  Is it ServiceLocator is not working in OSGi?