Implement a test runner with scalajs.testbridge.

Move tests that doesn't work on JS yet to the JVM sources.