Improve in-line documentation

...and incorporate a Grunt task to generate an HTML version using
[JSDoc](http://usejsdoc.org/).
Release v0.2

Increment version, rebuild distribution files, and update examples.