Adding JSDoc documentation of classes

[JSDoc](https://github.com/jsdoc3/jsdoc) comments.  Are darkwallet devs interested in adopting this convention so that documentation can be generated?