refactor(OsgiScriptingEngines): remove default visible method

remove the method setBundle and replace it with protected method
getBundleContext that way the bundle field is removed and replaced with
the correct BundleContext
change the test by creating a subclass TestOsgiScriptingEngines which
overrides getBundleContext