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.