buffer: prepare buffer.js for smalloc

Initial steps for using Smalloc as the data backing for Buffers.
buffer: WIP alter Buffer class API to use Alloc