Bug 898229 - Add support for getting a list of globals for an addon.

This pull request both adds a function to retrieve a list of sandboxes loaded by a module, and also enables dynamic notifications for newly loaded modules.