API Nav Revision

Here's the source for the API Nav Revision. Currently using a static HTML table of contents for the API page, with a JavaScript TOC generator for other pages. Will replace the API's static HTML with the generator when some issues have been worked out.