Fix problem with the order of operations in initializing Gremlin ScriptEngine.

Allows Gremlin Server to start properly with neo4j.