Fix #575: Add Scala.js magic number and version to IR binary format
Merge pull request #584 from gzm0/ir-version

Fix #575: Add Scala.js magic number and version to IR binary format