attach the node version to the published document

Includes a test for the presence of both `_npmVersion` and `_nodeVersion`. Uses `process.versions.node` so as to have the same formatting for both npm and node.