Added some nashorn diag tools for versiontest.