Add package.json with dependencies.

Addresses #1.
Move library code to lib folder.
Move scripts to scripts folder.
Move executables to bin folder.
Upgrade to new N3.js API.
Add command-line utility to generate provenance.

Addresses #1.
Update startup script with new bin path.
Add executables to package.json.
Use OS temp folders.