[Ruby] Share and manage one singleton scripting container.

As this is a very heavy weight component, but the
gateway itself is not thread safe (according to Kristian)

CI
http://bamboo.s/browse/NX-OSSF317