remove HeapDump
prep buffer.js for new smalloc api
begin prepping node_buffer.cc for using smalloc
move few functions around for readability