Implement java.util.Arrays.hashCode
Centralize JavaScript-side ad-hoc test detection

Note: `detectTestNames` will be used in a later commit.
Fix #1288: Make stage a setting in sbt plugin
Fix #1073: New test framework interface (aligned with sbt)
Remove println from tests