smalloc: initial commit

smalloc is a simple utility for quickly allocating external memory onto
js objects.
smalloc: add sliceOnto

This is a generic and simpler way of makeFastBuffer, as it works on any
allocated objects.