Implement System.exit() through environment setting (#958)

This commit removes support for `__ScalaJSExportsNamespace`. Use
`__ScalaJSEnv.exportsNamespace` instead.
Add option to PhantomJSEnv to not immediately terminate (fix #958)