Adds dependencies (jsdom and pagedown) to package.json.

Currently we're depending on my (ncraike) fork of pagedown, which has a patch which lets us access Markdown.HookCollection from node.js code.