standard 3 script directory and metadata update

adds a `script/` dir with the standard bootstrap, tests, cibuild convention
and updates the package.json metadata to include the necessary fields to
prevent warnings during the `tests` script. Includes a test suite that verifies
`state.json` is structurally valid json.