separate persistent and locals
update for v0.10
avoid abusing pointers
use Handle on < 0.11
fix master structure layout
use new and delete
add context to weak cb
remove a few more ifdef's in favor of a define
unpack should allocate for you
allocate return values for you
make externals more useful on pre v0.11
update documentation to new api
use struct constructor not shim_val_alloc