Migrate to sbt 0.13.0.

With minimal changes not to have warnings.
Throw sbt error when Scala.js compilation fails.