Added support for constructing from ArrayBuffer and added test that verifies support

Indexing into ArrayBuffers doesn't work. It's a bug that it works in node 0.10 and will fail in node 0.12 and browsers