Improved access to the global scope.

- JSDynamic.window renamed to JSDynamic.global
- Top-level modules (including package objects) extending
  JSGlobalScope are considered to define members accessible
  in the JS global scope, i.e., that are members of the
  global object.