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)
Merge pull request #967 from gzm0/system-exit

System exit