Invert package nesting in browser boot

Previously, the root package was the module loader itself.  Now, to
match what is likely in practice, the application loads first, then the
module loader, then promises.