Render tables of contents for api docs server-side.
Move views/docs-raw.html to doc/api-raw.html.

Also generate more of the static docs in views/docs.html.
cheerio is now a normal (non-dev) dependency.
split out doc utils into a separate lib.
Added documentation.generateStaticDocs().
Added bin/generate-static-docs.js.
added 'website' target to makefile.