Fix #788: Add typings and compiler support for TypedArrays

These changes to the IR checker require that `binaryVersion` be bumped. The tools of Scala.js 0.5.1 will not be able to read .sjsir files of 0.5.2 referencing these helpers.