Adding packaged version when publishing to npm.

This pull request adds the `dist` folder to the npm package published on npm, and packaged files are now directly inside the `dist` folder instead of being in a folder with the version number inside the `dist` folder (removing 1 level of directories).
This makes it easier to use the packaged version of hashspace when depending on hashspace through npm.