[WELD-1307] Concurrency issues in the weld-osgi extender

This fixes most of the issues I think, but there is still potential problems in the CDIContainerFactory which isn't thread safe.