JS Module will now run as module - fixes #664

Module launch property now independent from run-as-app and run-as-js,
thereby allowing to cleanly take them out when feasible.  The
module/type selection is identical, so the case of non-shared JS
toplevel is gracefully handled by the runtime after launch.