Clean-up of settings related to the ScalaJSEnvironment.

The task prepareEnvironment has been renamed to
scalaJSEnvironment, and has been "promoted" to be part
of scalaJSConfigSettings. It is not scoped by task anymore.

Its dependencies, sources and fullClasspath, are now
scoped to scalaJSEnvironment itself instead of run or test.