extensions::ModuleSystem: expose a loadScript('module_name') function.

This function directly runs the given module in the current scope.

Bug: 699569, 718047
Change-Id: I233392e2c5cce5c26ebc6c10f324f2bcfb1e12b1
Reviewed-on: https://chromium-review.googlesource.com/762399
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Yuzhu Shen <yzshen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515584}
3 files changed