(#2143) - Make npm run build work on Windows

Just add 'node' to version and npm run build will work on Linux/OS X and Windows. Although I only tested it on Linux and Windows.
(#2143) - use fs to write a file, prepend js scripts with node, and fix jshint
(nick-thompson/express-pouchdb#42) - fix metadata.id

So don't ask me why, but occasionally metadata
is undefined here, so this throws an error in
PouchDB server when you run npm test against it.
Related to #2282.