Fix the "./run.sh opt" invocation.

The exports.js scrips were using someArray.push()
instead of someArray['push']().
Merge pull request #1 from sjrd/patch-1

Fix the "./run.sh opt" invocation.
Use case class apply constructor when adding a task
Tidyup indentation
Add DeltaBlue benchmark
Rework the benchmark runner and add option to test with node

Benchmark files are concatenated into one single JS file when testing
with node, since it only takes one script argument.  Note that all
benchmarks currently fail on node. See example below:

TypeError: undefined is not a function
    at ScalaJS.c.java︳lang︳String$.init︳︴ (richards/target/scala-2.10/richards.node.js:193735:127)
    at Object.ScalaJS.modules.java︳lang︳String (richards/target/scala-2.10/richards.node.js:193801:102)
    at ScalaJS.c.scala︳runtime︳ScalaRunTime$.init︳︴ (richards/target/scala-2.10/richards.node.js:177614:178)
    at Object.ScalaJS.modules.scala︳runtime︳ScalaRunTime (richards/target/scala-2.10/richards.node.js:177774:122)
    at ScalaJS.c.scala︳collection︳immutable︳HashMap.elemHashCode︴O︴I (richards/target/scala-2.10/richards.node.js:454433:26)
    at ScalaJS.c.scala︳collection︳immutable︳HashMap.computeHash︴O︴I (richards/target/scala-2.10/richards.node.js:454442:42)
    at ScalaJS.c.scala︳collection︳immutable︳HashMap.$plus︴Lscala︳Tuple2︴Lscala︳collection︳immutable︳HashMap (richards/target/scala-2.10/richards.node.js:454424:220)
    at ScalaJS.c.scala︳collection︳immutable︳HashMap.$plus︴Lscala︳Tuple2︴Lscala︳Tuple2︴Lscala︳collection︳Seq︴Lscala︳collection︳immutable︳HashMap (richards/target/scala-2.10/richards.node.js:454427:76)
    at ScalaJS.c.scala︳collection︳immutable︳Map$Map4.updated︴O︴O︴Lscala︳collection︳immutable︳Map (richards/target/scala-2.10/richards.node.js:462860:103)
    at ScalaJS.c.scala︳collection︳immutable︳Map$Map4.$plus︴Lscala︳Tuple2︴Lscala︳collection︳immutable︳Map (richards/target/scala-2.10/richards.node.js:462867:15)
Run benchmarks for a fixed number of milliseconds

Use the same approach as the Dart benchmark_harness and run the
benchmarks for a fixed number of milliseconds instead of a fixed
number of times.
Support node as a JavaScript engine

The main issue with node.js is that the global object is not exposed via
`this` but via `global`. To make this work `ScalaJS.g` is rewired in the
`exports.js` file to work in optimized mode.
Add script to build and run all benchmarks
Add Scala.js LICENSE file and a cool license header
Add check sum calculation for verifying ray tracing in benchmark mode

This was left out when initially porting the benchmark.
Add JavaScript benchmark reference code

This add V8's benchmark implementations and the Dart benchmark runner,
which is the inspiration for how the Scala.js benchmarks currently work.
Since V8's benchmark runner uses a reference time for calculating scores
it is not practical to use at this time.
Update for new groupId and package structure of Scala.js.
Remove workaround to support Node.js.

Since now Scala.js supports it natively.
Merge pull request #2 from sjrd/patch-2

Updates for the recent changes in Scala.js