Fixes for ArrayBuffer.

* ArrayBuffer size should be returned through 'byteLength', not 'length'.
* ArrayBuffer (int, int) should use the second parameter as 'elements', not as 'byteLength'.
* Added a small test case to show it (tested with SP/Node).