[BISERVER-11484] De-Registering the OSGI ObjectFactory on server shutdown. The fact that it remained caused and PentahoSystem.getXXX call to fail with an exception about the BundleContext being invalid because the OSGI framework has already stopped.