JSDocs

- Docs cannot be browser via Github using standard interface, removing
generated documentation
Git pre-commit test hook

- Added pre-commit hook to run 'npm test'
- Updated documentation explaining how to setup the hook