Bug 296356 We shouldn't create more than one e4 OSGi context per BundleContext
tests/org.eclipse.e4.ui.bindings.tests/src/org/eclipse/e4/ui/bindings/tests/Activator.java
/**
	 * Returns the shared instance
	 *
	 * @return the shared instance
	 */
	public static Activator getDefault() {
		return plugin;
	}
	public void start(BundleContext context) throws Exception {
		plugin = this;
		serviceContext = EclipseContextFactory.createServiceContext(context);
		appContext = EclipseContextFactory.create(serviceContext, null);
		addLogService(appContext);
	}
	private void addLogService(IEclipseContext context) {
		context.set(LogService.class.getName(), new LogService() {
			public void log(int level, String message) {
				System.out.println(level + ": " + message);
			}
			public void log(int level, String message, Throwable exception) {
				System.out.println(level + ": " + message);
				if (exception != null) {
					exception.printStackTrace();
				}
			}
			public void log(ServiceReference sr, int level, String message) {
				
			}
			public void log(ServiceReference sr, int level, String message,
					Throwable exception) {