8142857: Enable all nashorn "api" tests for jtreg test runReviewed-by: attila, hannesw, mhaupt
8138616: invokeFunction fails if function calls a function defined in GLOBAL_SCOPEReviewed-by: hannesw, mhaupt