Add HeapBuffer class to deal with temporary heap buffers

std::vector is unbelievably slow and not nearly as useful as I expected
it to be
WIP 09.20.2014