Added WordArray.toArrayBuffer function to lib-typedarrays.js

Added a function of WordArray class to convert the data inside the
object to a ArrayBuffer object, that can be used with any kind of the
new TypedArray's viewers