prepare proper publication in npm

Few changes we've discussed last week:
- change npm name from `hashspace-prototype` to `hashspace`
- ignore files that shouldn't be published in npm
- expose "public API" via index.js