Fix bug in ScalaJS.dynamicIsAssignableFrom().
Overload scala.App not to access scala.Properties.

scala.Properties is not supported because
java.util.Properties is not supported. Now a lot of
tests in partest use App, so we need App to work.
Fix error reporting in RhinoBasedRun.