provide patch for #217 to set the dimension count for the schema appropriately
PointBuffer::pack() should return heap-allocated buffer so multiple copies aren't made
use scoped_ptr to manage packed buffer lifetime
PointBuffer::pack returns heap-allocated buffer now
used PointBuffer::pack instead of custom packing stuff