scons: no more love for scons(1)
stash: implement STASH_REBUILD() to pass a stash around

Also document ALLOC_ALIGN() and introduce strsize() helper.