Fix issues in IE9

Tests now pass in IE9 using testling. There were several issues:

 * `Int32Array` was used without a fallback, now this falls back to `Array`. We may want to use `typedarray.Int32Array` instead of a normal `Array` here, but `Array` was much faster (`3x faster tests).
 * `UInt8Array` was used in tests, now this uses the `typedarray` module. It may be better to use native typed arrays if available before falling back to `typedarray`.
 * `console.error` was used in tests. I changed these calls to `console.log` instead of providing an inline polyfill. This is not an issue for my use case because I already polyfill `console.*`, but I did this just to get tests running.