Add support multiple modules in a single browser window in hosted mode, moving much of the functionality into platform-dependent code.  Added a unit
test for this functionality, although currently it passes simply by not crashing -- in the future we will add instrumentation for the module loading/unloading code (when we can easily create new objects under window.external) and verify that it is being properly handled.

Review by: scottb, knorton

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@799 8db76d5a-ed1c-0410-87a9-c151d255dfc7
11 files changed