Fixes to unstable package

The package in unstable hadn't been trued up to support a handful of changes from the unstable SDK branch.  This PR should deliver a working npm package for the unstable branch.

NB: A lot of this is just moving changes from the package files in the SDK branch over here.  There are some net new changes to the node.js script, which I'll describe below.