Include API examples from website

Upgrade the included version of grunt-contrib-jshint so that global
variables may be specified on a per-file bases.
Begin implementing JSDoc
Document extensions
Translate remaining comments to JSDoc