Rename variables that refer to global objects.

This clarifies whether those variables will point to a Window object or an
arbitrary global object.

Note in particular that all IDL Constructors will accept an arbitrary global
object.
Simplify the implementation of cx_for_dom_reflector.
Put some 'use' statements in alphabetical order.
Make some DOM fields private.

Relevant to #2242.
Remove some Cells for immutable members.
Introduce abstractions for global scopes.

Part of #2811.
Support FormData outside Window scopes.
Add newlines in global.rs.
Merge pull request #2839 from Ms2ger/globals

Introduce abstractions for global scopes; r=Manishearth,larsberg
Implement a stub Worker interface.

Part of #2811.
Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope.

Part of #2811.
Add worker scope variants to the Global enums.
Parse the URL passed to the Worker constructor.
Spawn a thread for workers.
Add a constructor for DedicatedWorkerGlobalScope.
Load scripts in workers.
Store the JSContext in a field on the worker global scope.
Implement global.console in workers.
Support Worker globals in global_object_for_js_object.
Changes to support latest rust-layers

Now tiles are stored in TileGrid and layer methods are simple instance
methods.